From 5306b2cb714ad551dd1c1b693dd9d88365814c23 Mon Sep 17 00:00:00 2001 From: chris pember Date: Thu, 27 Sep 2012 20:41:01 -0700 Subject: [PATCH] fixed the stylesheets so the vertical sliders arent broken looking anymore --- .../share/openpilotgcs/stylesheets/default_linux.qss | 2 ++ .../share/openpilotgcs/stylesheets/default_macos.qss | 2 ++ .../share/openpilotgcs/stylesheets/default_windows.qss | 2 ++ .../openpilotgcs/share/openpilotgcs/stylesheets/wide_linux.qss | 2 ++ .../openpilotgcs/share/openpilotgcs/stylesheets/wide_macos.qss | 2 ++ .../share/openpilotgcs/stylesheets/wide_windows.qss | 2 ++ 6 files changed, 12 insertions(+) diff --git a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss index 558054cc1..97844c95a 100644 --- a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss +++ b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss @@ -66,6 +66,8 @@ Utils--StyledBar { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2: width: 6px; border-radius: 2px; margin 0px -10px; + margin-top: 5px; + margin-bottom: 5px; } QSlider::sub-page:vertical { background: #fff; diff --git a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_macos.qss b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_macos.qss index 035fa5633..430d04d67 100644 --- a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_macos.qss +++ b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_macos.qss @@ -65,6 +65,8 @@ Utils--StyledBar { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2: width: 6px; border-radius: 2px; margin 0px -10px; + margin-top: 5px; + margin-bottom: 5px; } QSlider::sub-page:vertical { background: #fff; diff --git a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_windows.qss b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_windows.qss index 035fa5633..430d04d67 100644 --- a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_windows.qss +++ b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_windows.qss @@ -65,6 +65,8 @@ Utils--StyledBar { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2: width: 6px; border-radius: 2px; margin 0px -10px; + margin-top: 5px; + margin-bottom: 5px; } QSlider::sub-page:vertical { background: #fff; diff --git a/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_linux.qss b/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_linux.qss index 558054cc1..97844c95a 100644 --- a/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_linux.qss +++ b/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_linux.qss @@ -66,6 +66,8 @@ Utils--StyledBar { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2: width: 6px; border-radius: 2px; margin 0px -10px; + margin-top: 5px; + margin-bottom: 5px; } QSlider::sub-page:vertical { background: #fff; diff --git a/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_macos.qss b/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_macos.qss index 035fa5633..430d04d67 100644 --- a/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_macos.qss +++ b/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_macos.qss @@ -65,6 +65,8 @@ Utils--StyledBar { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2: width: 6px; border-radius: 2px; margin 0px -10px; + margin-top: 5px; + margin-bottom: 5px; } QSlider::sub-page:vertical { background: #fff; diff --git a/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_windows.qss b/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_windows.qss index 035fa5633..430d04d67 100644 --- a/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_windows.qss +++ b/ground/openpilotgcs/share/openpilotgcs/stylesheets/wide_windows.qss @@ -65,6 +65,8 @@ Utils--StyledBar { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2: width: 6px; border-radius: 2px; margin 0px -10px; + margin-top: 5px; + margin-bottom: 5px; } QSlider::sub-page:vertical { background: #fff;