Vertically realign the buttons

This commit is contained in:
Jean Pierre Cimalando 2021-02-27 10:04:47 +01:00
parent e8056471ed
commit 8241eff331
2 changed files with 10 additions and 10 deletions

View file

@ -25,18 +25,18 @@ widget_class mainView {open
class SfizzMainButton
}
Fl_Button {} {
comment {tag=kTagFirstChangePanel+kPanelGeneral}
xywh {49 73 25 25} labelsize 24
comment {tag=kTagFirstChangePanel+kPanelGeneral} selected
xywh {49 77 25 25} labelsize 24
class HomeButton
}
Fl_Button {} {
comment {tag=kTagFirstChangePanel+kPanelControls}
xywh {81 73 25 25} labelsize 24
comment {tag=kTagFirstChangePanel+kPanelControls} selected
xywh {81 77 25 25} labelsize 24
class CCButton
}
Fl_Button {} {
comment {tag=kTagFirstChangePanel+kPanelSettings}
xywh {112 73 25 25} labelsize 24
comment {tag=kTagFirstChangePanel+kPanelSettings} selected
xywh {112 77 25 25} labelsize 24
class SettingsButton
}
}
@ -69,7 +69,7 @@ widget_class mainView {open
class Badge
}
Fl_Box keyswitchInactiveLabel_ {
label {No key switch} selected
label {No key switch}
xywh {195 45 360 30} labelsize 20 align 20 hide
class InactiveLabel
}

View file

@ -10,11 +10,11 @@ auto* const view__3 = createRoundedGroup(CRect(5, 4, 180, 105), -1, "", kCenterT
view__2->addView(view__3);
auto* const view__4 = createSfizzMainButton(CRect(30, 5, 150, 65), kTagFirstChangePanel+kPanelGeneral, "", kCenterText, 14);
view__3->addView(view__4);
auto* const view__5 = createHomeButton(CRect(44, 69, 69, 94), kTagFirstChangePanel+kPanelGeneral, "", kCenterText, 24);
auto* const view__5 = createHomeButton(CRect(44, 73, 69, 98), kTagFirstChangePanel+kPanelGeneral, "", kCenterText, 24);
view__3->addView(view__5);
auto* const view__6 = createCCButton(CRect(76, 69, 101, 94), kTagFirstChangePanel+kPanelControls, "", kCenterText, 24);
auto* const view__6 = createCCButton(CRect(76, 73, 101, 98), kTagFirstChangePanel+kPanelControls, "", kCenterText, 24);
view__3->addView(view__6);
auto* const view__7 = createSettingsButton(CRect(107, 69, 132, 94), kTagFirstChangePanel+kPanelSettings, "", kCenterText, 24);
auto* const view__7 = createSettingsButton(CRect(107, 73, 132, 98), kTagFirstChangePanel+kPanelSettings, "", kCenterText, 24);
view__3->addView(view__7);
auto* const view__8 = createRoundedGroup(CRect(185, 5, 565, 105), -1, "", kCenterText, 14);
view__2->addView(view__8);