From 1aef5bba7919fbd4bb9535d1b3f8de45f0a1f08f Mon Sep 17 00:00:00 2001 From: Nav Date: Wed, 6 Oct 2021 01:02:00 +0100 Subject: [PATCH] Ensured that Insight menu bars are always of a fixed width --- .../InsightWindow/Stylesheets/InsightWindow.qss | 2 ++ .../UserInterfaces/InsightWindow/UiFiles/InsightWindow.ui | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss index f680f36d..7fe730d9 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss +++ b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss @@ -194,6 +194,7 @@ QScrollBar::sub-line:vertical { /* Left-side panel */ #left-side-menu-bar { max-width: 22px; + min-width: 22px; background-color: transparent; height: auto; border-right: 1px solid #2F2F2D; @@ -294,6 +295,7 @@ QScrollBar::sub-line:vertical { #bottom-menu-bar { background-color: transparent; max-height: 22px; + min-height: 22px; border-top: 1px solid #2F2F2D; } diff --git a/src/Insight/UserInterfaces/InsightWindow/UiFiles/InsightWindow.ui b/src/Insight/UserInterfaces/InsightWindow/UiFiles/InsightWindow.ui index 9ae9e883..7f967506 100644 --- a/src/Insight/UserInterfaces/InsightWindow/UiFiles/InsightWindow.ui +++ b/src/Insight/UserInterfaces/InsightWindow/UiFiles/InsightWindow.ui @@ -121,6 +121,9 @@ + + + Qt::LeftToRight @@ -206,7 +209,7 @@ - + @@ -254,6 +257,9 @@ + + + 1