می خوام فونت خاصی رو به این کومبو باکس نسبت بدم
هر کاری کردم نشد
هر چی مقاله خوندم و عین اونها عمل کردم هم نشد
لطفا توضیح بدید
[/RIGHT][/CENTER][/LEFT][/LEFT
فونت رو هم توی کتابخونه آوردم
new font و مابقی ماجرا....
ولی نشد
هر کاری کردم نشد
هر چی مقاله خوندم و عین اونها عمل کردم هم نشد
لطفا توضیح بدید
PHP:
[LEFT][/LEFT]
var font:Font = new Font1() as Font;
var tf:TextFormat = new TextFormat();
tf.font = font.fontName;
tf.align = TextFormatAlign.RIGHT;
tf.color = 0xFFFFFF;
tf.size = 15;
//combo.setStyle("embedFonts",true);
//combo.textField.setStyle("textFormat",tf);
//combo.setStyle("embedFonts", true);
//combo.setStyle("textFormat", tf);
// Set dropdown style for comboBox
//combo.textField.setStyle("embedFonts", true);
combo.textField.setStyle("textFormat", tf);
combo.dropdown.setRendererStyle("embedFonts", true);
combo.dropdown.setRendererStyle("textFormat", tf);
فونت رو هم توی کتابخونه آوردم
new font و مابقی ماجرا....
ولی نشد