Commit 9a96e49f authored by Bryant's avatar Bryant

The QGCUnconnectedInfoWidget now remains square and has more rounded edges so...

The QGCUnconnectedInfoWidget now remains square and has more rounded edges so that it looks more like a button.
parent 0102cf84
......@@ -154,6 +154,10 @@ QGCToolWidgetItem {
margin-top: 1ex; /* leave space at the top for the title */
}
QGCUnconnectedInfoWidget QPushButton {
border-radius: 18px;
}
QGroupBox {
border: 1px solid #666;
border-radius: 3px;
......
......@@ -154,6 +154,10 @@ QGCToolWidgetItem {
margin-top: 1ex; /* leave space at the top for the title */
}
QGCUnconnectedInfoWidget QPushButton {
border-radius: 18px;
}
QGroupBox {
border: 1px solid #666;
border-radius: 3px;
......@@ -281,6 +285,7 @@ QPushButton, QToolButton {
QPushButton#connectButton, QPushButton#controlButton {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #73D95D, stop: 1 #18A154);
padding: 0;
}
QPushButton#controlButton {
......
......@@ -11,7 +11,7 @@
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
......@@ -29,7 +29,7 @@
<item row="0" column="0">
<widget class="QPushButton" name="connectButton">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment