开发者

LWUIT ComboBox popup theming problem

开发者 https://www.devze.com 2023-03-23 23:28 出处:网络
I want to customize the look of the ComboBox pop-up list in LWUIT. Nonetheless when I tried to change the ComboBox, ComboBoxFocus, ComboBoxItem, ComboBoxList, ComboBoxPopup components in LWUIT Theme C

I want to customize the look of the ComboBox pop-up list in LWUIT. Nonetheless when I tried to change the ComboBox, ComboBoxFocus, ComboBoxItem, ComboBoxList, ComboBoxPopup components in LWUIT Theme Creator, nothing happened. The popup preview in Theme Creator still shows the pop-up in black text on wh开发者_开发百科ite background. Am I missing something? How to change the theme of this pop-up? I am using LWUIT 1.4


Use the following styles in LWUIT resource edit,

  • Unselected#ComboBoxItem#Color for unfocused list Item.
  • Unselected#ComboBoxPopup#Color for unfocused list Item.
  • Selected#ComboBoxItem#Color for focused list Item.

Note: uncheck derive checkbox and change the fore color or background color. Because its use default style When the derive checkbox is selected.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号