Commit c46b0b03 authored by Don Gagne's avatar Don Gagne Committed by GitHub
Browse files

Merge pull request #4885 from DonLakeFlyer/CameraSetup

Camera setup sizing/position combo sizes
parents a920efe9 2b797d29
import QtQuick 2.3 import QtQuick 2.3
import QtQuick.Controls 1.2 import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.4 import QtQuick.Layouts 1.2
Row { RowLayout {
property string labelText: "Label" property string labelText: "Label"
property string valueText: "value" property string valueText: "value"
...@@ -13,8 +13,9 @@ Row { ...@@ -13,8 +13,9 @@ Row {
text: labelText text: labelText
} }
QGCLabel { QGCLabel {
width: parent.width - label.contentWidth text: valueText
text: valueText elide: Text.ElideRight
horizontalAlignment: Text.AlignRight; horizontalAlignment: Text.AlignRight
Layout.fillWidth: true
} }
} }
Supports Markdown
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