Recent

Author Topic: LAMW - how do I change the color of the (overflow) menu?  (Read 545 times)

Manlio

  • Full Member
  • ***
  • Posts: 170
  • Pascal dev
LAMW - how do I change the color of the (overflow) menu?
« on: June 02, 2025, 01:13:39 pm »
jToolbar contains a menu, and when the items in the menu don't fit, they "overflow", i.e. a three-dot icon appears on the right, and when you tap it, the remaining menu items  are displayed in a sort of popup menu, aligned to the right.

Now, this popup menu's colors are black text on white background, and I would like to programmatically change them to white text over black background when my app goes into "dark mode".

I can change the color of the jToolbar, but that doesn't seem to have any relation to the color of the overflow menu.

Can anyone help? How do I access the overflow menu object? What class is it? How do I change its BackgroundColor and FontColor?

Thanks and kind regards
manlio mazzon gmail

 

TinyPortal © 2005-2018