WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 xTree Custom Charactors (wrong font size)., Simon, March 7, 2003
     Re:xTree Custom Charactors (wrong font size)., Erik Arvidsson, March 7, 2003

Subject: xTree Custom Charactors (wrong font size). From: Simon Date: March 7, 2003

Hi everyone!

When I tried xTree out and added som custom characters, like the swedish character (ö) to the name of a folder and/or file.
The charactor became small in size...

Strange!?!?!?

Try it :)

_____________________________________________________________


tree.add(webmaster);
var email = new WebFXTreeItem('johan ekström','mailto:johan.ekstrom@tetrapak.com');
email.icon = webFXTreeConfig.fileIcon;
webmaster.add(email);
var email = new WebFXTreeItem('email','mailto:johan.ekstrom@tetrapak.com');
email.icon = webFXTreeConfig.fileIcon;
webmaster.add(email);

_______________________________________________________________________


Here is the solution to the bug... if you want to correct it...

in xtree.css, find "font:icon;"
replace it with

font-family:ms sans serif;
font-size:11px;

It's the exakt same format, but abit longer.

That's all from me...




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX