Commit 72167dd0 authored by Don Gagne's avatar Don Gagne

Merge pull request #1216 from DonLakeFlyer/ResolutionWork

Rework setup buttons to fit in lower resolution displays
parents 8197e5c5 503f9aa9
......@@ -7,7 +7,7 @@ import QGroundControl.Palette 1.0
Button {
checkable: true
height: 80
height: 60
text: "Button"
property bool setupComplete: true
......@@ -22,7 +22,7 @@ Button {
background: Rectangle {
id: innerRect
readonly property real titleHeight: 30
readonly property real titleHeight: 20
border.color: control.checked ? "#eee333" : "#676767"
radius: 10
......@@ -45,7 +45,7 @@ Button {
Rectangle {
id: setupIndicator
readonly property real indicatorRadius: 6
readonly property real indicatorRadius: 4
x: parent.width - (indicatorRadius * 2) - 5
y: (parent.height - (indicatorRadius * 2)) / 2
......
......@@ -24,13 +24,13 @@
</property>
<property name="minimumSize">
<size>
<width>160</width>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>160</width>
<width>120</width>
<height>16777215</height>
</size>
</property>
......
......@@ -46,7 +46,7 @@ Rectangle {
SetupButton {
id: summaryButton; objectName: "summaryButton"
width: parent.width
text: "VEHICLE SUMMARY"
text: "SUMMARY"
setupIndicator: false
exclusiveGroup: setupButtonGroup
onClicked: topLevel.summaryButtonClicked()
......
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