Configuring a dropdown_style allows to specify a button_style for the button that opens the list_box to select an item from.
This button_style currently only allows to change default_font_color, hovered_font_color and disabled_font_color.
The other font color options (clicked_font_color, selected_font_color, selected_hovered_font_color and selected_clicked_font_color) don't have any effect on the dropdown button at all.
Additionally it appears that the background of the dropdown button uses the clicked_graphical_set.
[Klonan] [1.1.72] dropdown style not supporting all font_color types
- BrainGamer_
- Long Handed Inserter
- Posts: 94
- Joined: Sun Nov 14, 2021 9:52 pm
- Contact:
[Klonan] [1.1.72] dropdown style not supporting all font_color types
- Attachments
-
- replace_default_dropdown.lua
- This has a style configured to replace the default dropdown style so that the button font color is different for each possible font color type.
- (1.56 KiB) Downloaded 97 times
-
- styles.lua
- The styles I used in the mod I am trying to build a GUI for.
- (1.12 KiB) Downloaded 83 times
- BrainGamer_
- Long Handed Inserter
- Posts: 94
- Joined: Sun Nov 14, 2021 9:52 pm
- Contact:
Re: [1.1.72] dropdown style not supporting all font_color types
This is the mod for which I try to make a GUI. Once opened (top left button) the dropdown in the top bar of the frame should behave identical as the regular button next to it (white font color while nothing is hovering/clicking and switching to a black font color once clicked / hovered).
Re: [Klonan] [1.1.72] dropdown style not supporting all font_color types
Thanks for the report,
It is fixed for the next release
It is fixed for the next release