LWUIT ComboBox popup theming problem

2019-08-05 02:26发布

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 white background. Am I missing something? How to change the theme of this pop-up? I am using LWUIT 1.4

1条回答
我想做一个坏孩纸
2楼-- · 2019-08-05 02:51

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.

查看更多
登录 后发表回答