Skip to content

Commit

Permalink
PanelListBox wasn't fully defined in White theme which caused it's ba…
Browse files Browse the repository at this point in the history
…ckground color to be transparent
  • Loading branch information
texus committed Jul 17, 2024
1 parent d37dbf4 commit 566e011
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
TGUI 1.4 (15 July 2024)
------------------------
TGUI 1.4.1 (TBD)
-----------------

- PanelListBox now has proper background color and borders in White theme


TGUI 1.4.0 (15 July 2024)
--------------------------

- New widget: SplitContainer
- Added MaxValue getter to Scrollbar
Expand Down
5 changes: 4 additions & 1 deletion src/Loading/Theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ namespace tgui
{"TextColor", Color::Black}})},
{"Panel", RendererData::create({{"BorderColor", Color::Black},
{"BackgroundColor", Color::White}})},
{"PanelListBox", RendererData::create({{"ItemsBackgroundColor", Color{245, 245, 245}},
{"PanelListBox", RendererData::create({{"Borders", Borders{1}},
{"BorderColor", Color::Black},
{"BackgroundColor", Color::White},
{"ItemsBackgroundColor", Color{245, 245, 245}},
{"ItemsBackgroundColorHover", Color::White},
{"SelectedItemsBackgroundColor", Color{0, 110, 255}},
{"SelectedItemsBackgroundColorHover", Color{30, 150, 255}}})},
Expand Down

0 comments on commit 566e011

Please sign in to comment.