Commit 9f826f24 authored by DonLakeFlyer's avatar DonLakeFlyer

Clip summary text appropriately

parent 5c7f03ac
import QtQuick 2.3
import QtQuick 2.3
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.2
Row {
RowLayout {
property string labelText: "Label"
property string valueText: "value"
......@@ -13,8 +13,9 @@ Row {
text: labelText
}
QGCLabel {
width: parent.width - label.contentWidth
text: valueText
horizontalAlignment: Text.AlignRight;
text: valueText
elide: Text.ElideRight
horizontalAlignment: Text.AlignRight
Layout.fillWidth: true
}
}
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