Skip to content

Commit

Permalink
Fix generic sim button text clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
elecpower committed Sep 22, 2024
1 parent c1d0e04 commit ed2443b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions companion/src/simulation/simulateduiwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ void SimulatedUIWidget::addGenericPushButton(int index, QString label, ButtonsWi
if (defn.index == index) {
QPushButton * b = new QPushButton(label);
b->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
b->setMinimumSize(50, 25);
b->setMaximumSize(50, 25);
b->setMinimumSize(60, 30);
b->setMaximumSize(60, 30);
RadioUiAction * act = new RadioUiAction();
ButtonsWidget * btns = defn.side == 'L' ? leftButtons : rightButtons;
QGridLayout * grid = defn.side == 'L' ? leftButtonsGrid : rightButtonsGrid;
Expand Down

0 comments on commit ed2443b

Please sign in to comment.