I have a combobox that i create and set a CSS style on like this:
Now, if you'd be so kind and take a look at the attached pictures, you can see that the style is applied as expected, but as soon as i click on it to select something, the titlestyle becomes something else entirely!
This is not what i expected. Thoughts appreciated.
Code:
locations = new ComboBoxItem(NubaCommonConstants.FIELD_NAME, NubaCommonConstants.constants.domainLocation()); locations.setAnimatePickList(true); locations.setValueField(NubaCommonConstants.FIELD_ID); locations.setDisplayField(NubaCommonConstants.FIELD_NAME); locations.setOptionDataSource(DataSource.get("location")); locations.setTitleStyle("controlText");
This is not what i expected. Thoughts appreciated.
Comment