Skip to content

Commit

Permalink
Make sure text fits in scale selector combo
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Nov 7, 2023
1 parent 4a52f29 commit 09d117d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/PluginMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class PluginMode : public Component {
scaleComboBox.addItemList({"50%", "75%", "100%", "125%", "150%", "175%", "200%"}, 1);
if (ProjectInfo::isStandalone) {
scaleComboBox.addSeparator();
scaleComboBox.addItem("Fullscreen kiosk", 8);
scaleComboBox.addItem("Fullscreen", 8);
}
scaleComboBox.setTooltip("Change plugin scale");
scaleComboBox.setText("100%");
Expand Down Expand Up @@ -257,7 +257,7 @@ class PluginMode : public Component {
scaleComboBox.setVisible(true);
editorButton->setVisible(true);

scaleComboBox.setBounds(8, 8, 70, titlebarHeight - 16);
scaleComboBox.setBounds(8, 8, 74, titlebarHeight - 16);
editorButton->setBounds(titleBar.getWidth() - titlebarHeight, 0, titlebarHeight, titlebarHeight);
}
}
Expand Down

0 comments on commit 09d117d

Please sign in to comment.