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 class SfizzMainButton
} }
Fl_Button {} { Fl_Button {} {
comment {tag=kTagFirstChangePanel+kPanelGeneral} comment {tag=kTagFirstChangePanel+kPanelGeneral} selected
xywh {49 73 25 25} labelsize 24 xywh {49 77 25 25} labelsize 24
class HomeButton class HomeButton
} }
Fl_Button {} { Fl_Button {} {
comment {tag=kTagFirstChangePanel+kPanelControls} comment {tag=kTagFirstChangePanel+kPanelControls} selected
xywh {81 73 25 25} labelsize 24 xywh {81 77 25 25} labelsize 24
class CCButton class CCButton
} }
Fl_Button {} { Fl_Button {} {
comment {tag=kTagFirstChangePanel+kPanelSettings} comment {tag=kTagFirstChangePanel+kPanelSettings} selected
xywh {112 73 25 25} labelsize 24 xywh {112 77 25 25} labelsize 24
class SettingsButton class SettingsButton
} }
} }
@ -69,7 +69,7 @@ widget_class mainView {open
class Badge class Badge
} }
Fl_Box keyswitchInactiveLabel_ { Fl_Box keyswitchInactiveLabel_ {
label {No key switch} selected label {No key switch}
xywh {195 45 360 30} labelsize 20 align 20 hide xywh {195 45 360 30} labelsize 20 align 20 hide
class InactiveLabel 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); view__2->addView(view__3);
auto* const view__4 = createSfizzMainButton(CRect(30, 5, 150, 65), kTagFirstChangePanel+kPanelGeneral, "", kCenterText, 14); auto* const view__4 = createSfizzMainButton(CRect(30, 5, 150, 65), kTagFirstChangePanel+kPanelGeneral, "", kCenterText, 14);
view__3->addView(view__4); 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); 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); 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); view__3->addView(view__7);
auto* const view__8 = createRoundedGroup(CRect(185, 5, 565, 105), -1, "", kCenterText, 14); auto* const view__8 = createRoundedGroup(CRect(185, 5, 565, 105), -1, "", kCenterText, 14);
view__2->addView(view__8); view__2->addView(view__8);