From 69f7b5494085804195531b7978eaf76abbaba63a Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Wed, 14 Apr 2021 11:25:40 +0200 Subject: [PATCH] Re-center the top-left logo --- plugins/editor/layout/main.fl | 6 +++--- plugins/editor/src/editor/layout/main.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/editor/layout/main.fl b/plugins/editor/layout/main.fl index 46b62c62..c5ac9708 100644 --- a/plugins/editor/layout/main.fl +++ b/plugins/editor/layout/main.fl @@ -20,8 +20,8 @@ widget_class mainView {open class RoundedGroup } { Fl_Box {} { - comment {tag=kTagAbout} - image {../resources/logo_text_shaded.png} xywh {35 9 120 60} + comment {tag=kTagAbout} selected + image {../resources/logo_text_shaded.png} xywh {32 9 120 60} class AboutButton } Fl_Button {panelButtons_[kPanelGeneral]} { @@ -35,7 +35,7 @@ widget_class mainView {open class CCButton } Fl_Button {panelButtons_[kPanelSettings]} { - comment {tag=kTagFirstChangePanel+kPanelSettings} selected + comment {tag=kTagFirstChangePanel+kPanelSettings} xywh {116 73 32 32} labelsize 30 class SettingsButton } diff --git a/plugins/editor/src/editor/layout/main.hpp b/plugins/editor/src/editor/layout/main.hpp index 7a6a409d..7c0ebf31 100644 --- a/plugins/editor/src/editor/layout/main.hpp +++ b/plugins/editor/src/editor/layout/main.hpp @@ -9,7 +9,7 @@ auto* const view__2 = createLogicalGroup(CRect(0, 0, 800, 110), -1, "", kCenterT view__0->addView(view__2); auto* const view__3 = createRoundedGroup(CRect(5, 4, 180, 105), -1, "", kCenterText, 14); view__2->addView(view__3); -auto* const view__4 = createAboutButton(CRect(30, 5, 150, 65), kTagAbout, "", kCenterText, 14); +auto* const view__4 = createAboutButton(CRect(27, 5, 147, 65), kTagAbout, "", kCenterText, 14); view__3->addView(view__4); auto* const view__5 = createHomeButton(CRect(31, 69, 63, 101), kTagFirstChangePanel+kPanelGeneral, "", kCenterText, 30); panelButtons_[kPanelGeneral] = view__5;