leading in combo box textfield
Why the heck doesn't the leading get set on the textField in the combobox! ahhh!
The text format is being set correctly because the font/color/size are all good, and the dropdown is all good. It's just the textField..
private var tf_arial_enabled:TextFormat = new TextFormat(new ArialRegular().fontName, 16, 0xea8443, null, null, null, null, null, 'left', null, null, null, 2);
theComboBox.setStyle("textFormat", tf_arial_enabled);
ttheComboBox.textField.setStyle("textFormat", tf_arial_enabled);
theComboBox.dropdown.setRendererStyle("textFormat", tf_arial_enabled);
theComboBox.setStyle("embedFonts", true);
theComboBox.textField.setStyle("embedFonts", true);
theComboBox.dropdown.setRendererStyle("embedFonts", true);
I haven't been here in awhile, sorry for code formatting if there ends up being a problem after posting ![]()