Skip to content

Commit

Permalink
Correct some theming issues
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfd committed Dec 30, 2021
1 parent c88a599 commit 8114292
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions plugins/editor/layout/main.fl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version 1.0304
header_name {.h}
code_name {.cxx}
widget_class mainView {open
xywh {607 439 800 475} type Double
xywh {624 612 800 475} type Double
class LogicalGroup visible
} {
Fl_Box imageContainer_ {
Expand Down Expand Up @@ -456,8 +456,9 @@ widget_class mainView {open
xywh {5 110 790 285} hide
class LogicalGroup
} {}
Fl_Box lblHover_ {selected
xywh {15 105 155 25} labelsize 12 hide
Fl_Box lblHover_ {
comment {palette=invertedPalette} selected
xywh {5 105 170 25} labelsize 12 hide
class HoverBox
}
}
2 changes: 1 addition & 1 deletion plugins/editor/src/editor/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ void Editor::Impl::createFrameContents()
auto font = makeOwned<CFontDesc>("Roboto", fontsize);
OnThemeChanged.push_back([lbl, palette]() {
lbl->setFontColor(palette->valueText);
lbl->setBackColor(palette->boxBackground);
lbl->setBackColor(palette->valueBackground);
lbl->setFrameColor(palette->valueText);
});
lbl->setHoriAlign(align);
Expand Down
4 changes: 3 additions & 1 deletion plugins/editor/src/editor/layout/main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ auto* const view__91 = createLogicalGroup(CRect(5, 110, 795, 395), -1, "", kCent
subPanels_[kPanelGeneral] = view__91;
view__0->addView(view__91);
view__91->setVisible(false);
auto* const view__92 = createHoverBox(CRect(15, 105, 170, 130), -1, "", kCenterText, 12);
enterPalette(invertedPalette);
auto* const view__92 = createHoverBox(CRect(5, 105, 175, 130), -1, "", kCenterText, 12);
lblHover_ = view__92;
view__0->addView(view__92);
view__92->setVisible(false);
enterPalette(defaultPalette);

0 comments on commit 8114292

Please sign in to comment.