Skip to content

Commit

Permalink
Update GroundPowerWidget.qml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 12, 2024
1 parent 08250ae commit 88a2e6a
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions qml/ui/widgets/GroundPowerWidget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,35 @@ BaseWidget {
break;
case 3:
settings.ground_battery_type = 3;
customValues.visible=true;
battery_low.visible=true;
battery_mid.visible=true;
battery_full.visible=true;
break;
}
}
}
}
Text {
id:customValues
visible: true
text: qsTr("Battery Type")
color: "white"
height: parent.height
font.bold: true
font.pixelSize: detailPanelFontPixels
anchors.left: parent.left
verticalAlignment: Text.AlignVCenter
}
TextInput {
id: battery_low
visible: false
width: 200
height: 40
placeholderText: "Batt Low"
}
TextInput {
id: battery_mid
visible: false
width: 200
height: 40
placeholderText: "Batt Mid"
}
TextInput {
id: battery_full
visible: false
width: 200
height: 40
placeholderText: "Batt High"
}
}
}

Expand Down

0 comments on commit 88a2e6a

Please sign in to comment.