Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

I'm trying to change the colors on a popup menu but am running into trouble. I am able to get the background color of the menu changed, but not the background color of the selected item. Here's a snippet from my lua file (inside a Theme.System = {} block):

PopupMenu = {
List = {
Properties = {
bgcolor = Color.rgb(99, 204, 99);
};
};
Item = {
Properties = {
selected_bgcolor = Color.rgb(200, 255, 200);
}
};
};

The bgcolor on the menu itself works fine, but the item remains the default gray color.

Any help would be appreciated. The theme stuff seems to be pretty lacking for docs...the calculator sample is really the only good source of info I've found, if anyone has more suggestions on places to look I'd also appreciate that.

-Al