This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Set UI theme color for Browser's count label and MenuBar's info label.
tags/v2.3.0
Andrew Belt
1 year ago
parent
6e7d457a6f
commit
41a234da18
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
src/app/Browser.cpp
+2
-0
src/app/MenuBar.cpp
+ 0
- 1
src/app/Browser.cpp
View File
@@ -518,7 +518,6 @@ struct Browser : widget::OpaqueWidget {
countLabel = new ui::Label;
countLabel->box.size.x = 100;
countLabel->color.a = 0.5;
headerLayout->addChild(countLabel);
SortButton* sortButton = new SortButton;
+ 2
- 0
src/app/MenuBar.cpp
View File
@@ -996,6 +996,8 @@ struct MenuBar : widget::OpaqueWidget {
void step() override {
Widget::step();
infoLabel->box.size.x = box.size.x - infoLabel->box.pos.x - 5;
// Setting 50% alpha prevents Label from using the default UI theme color, so set the color manually here.
infoLabel->color = color::alpha(bndGetTheme()->regularTheme.textColor, 0.5);
}
};
Write
Preview
Loading…
Cancel
Save