Browse Source

Make alpha menu bar item a MenuLabel.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
b84e8ec336
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/app/MenuBar.cpp

+ 3
- 3
src/app/MenuBar.cpp View File

@@ -1104,9 +1104,9 @@ struct MenuBar : widget::OpaqueWidget {
helpButton->text = "Help"; helpButton->text = "Help";
layout->addChild(helpButton); layout->addChild(helpButton);


MenuButton* alphaButton = new MenuButton;
alphaButton->text = "Pre-alpha build. Not for release.";
layout->addChild(alphaButton);
ui::MenuLabel* alphaLabel = new ui::MenuLabel;
alphaLabel->text = "Pre-alpha build. Not for release.";
layout->addChild(alphaLabel);


meterLabel = new MeterLabel; meterLabel = new MeterLabel;
meterLabel->box.pos.y = margin; meterLabel->box.pos.y = margin;


Loading…
Cancel
Save