Experiment with the collapsible header thingy. Slightly increase the font size of headers.

This commit is contained in:
Henrik Rydgård committed 2023-07-31 11:48:50 +02:00
1 parent 434aab9e69
commit 3861e97a94
4 files changed
+50 -48

No files matched your search

+1
View File
@@ -607,6 +607,7 @@ CollapsibleHeader::CollapsibleHeader(bool *toggle, const std::string &text, Layo
void CollapsibleHeader::Draw(UIContext &dc) {
Style style = dc.theme->itemStyle;
style.background.color = 0;
if (HasFocus()) style = dc.theme->itemFocusedStyle;
if (down_) style = dc.theme->itemDownStyle;
if (!IsEnabled()) style = dc.theme->itemDisabledStyle;