From 41d76c0cacaecdc864e6d0d6ba01323257578620 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 18 Aug 2013 00:33:01 +0200 Subject: [PATCH] Minor style fixes --- files/styles/style-dark.css | 11 ++++++----- src/ui/PrimaryFlightDisplay.cc | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/files/styles/style-dark.css b/files/styles/style-dark.css index 3287e307e..68da19cbe 100644 --- a/files/styles/style-dark.css +++ b/files/styles/style-dark.css @@ -345,13 +345,14 @@ QPushButton, QToolButton { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777, stop: 1 #333); } -QPushButton#planePushButton, QPushButton#flyingWingPushButton, QPushButton#quadXPushButton, QPushButton#quadPlusPushButton, QPushButton#hPushButton { +QPushButton#planePushButton, QPushButton#flyingWingPushButton, QPushButton#quadXPushButton, +QPushButton#quadPlusPushButton, QPushButton#hexaXPushButton, QPushButton#hexaPlusPushButton, +QPushButton#octoXPushButton, QPushButton#octoPlusPushButton, QPushButton#hPushButton { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777, stop: 1 #333); border-radius: 12px; - min-height: 120px; - max-height: 140px; - min-width: 120px; - max-width: 140px; + min-height: 140px; + max-height: 240px; + min-width: 140px; border: 3px solid #465158; } diff --git a/src/ui/PrimaryFlightDisplay.cc b/src/ui/PrimaryFlightDisplay.cc index 7910775fe..cce53d631 100644 --- a/src/ui/PrimaryFlightDisplay.cc +++ b/src/ui/PrimaryFlightDisplay.cc @@ -357,6 +357,7 @@ void PrimaryFlightDisplay::updateAttitude(UASInterface* uas, double roll, double if (yaw<0) yaw+=360; this->heading = yaw; } + } void PrimaryFlightDisplay::updateAttitude(UASInterface* uas, int component, double roll, double pitch, double yaw, quint64 timestamp) -- 2.22.0