Skip to content

Commit

Permalink
Fix centering and colors of launch card
Browse files Browse the repository at this point in the history
  • Loading branch information
gillamkid committed Aug 21, 2024
1 parent 5430e67 commit d3f05f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/FlightDisplay/GuidedActionConfirm.qml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ Rectangle {

ColumnLayout {
id: mainLayout
anchors.margins: _margins
anchors.left: parent.left
anchors.right: parent.right
anchors.centerIn: parent
width: parent.width - (_margins * 2)
spacing: _margins

QGCLabel {
Expand Down Expand Up @@ -147,7 +146,7 @@ Rectangle {
anchors.fill: parent
source: "/res/XDelete.svg"
fillMode: Image.PreserveAspectFit
color: qgcPal.text
color: qgcPal.primaryButtonText
}

QGCMouseArea {
Expand Down
2 changes: 1 addition & 1 deletion src/QmlControls/SliderSwitch.qml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Rectangle {
fillMode: Image.PreserveAspectFit
smooth: false
mipmap: false
color: qgcPal.buttonText
color: qgcPal.primaryButtonText
cache: false
source: "/res/ArrowRight.svg"
}
Expand Down

0 comments on commit d3f05f2

Please sign in to comment.