aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetailsEdit.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/DiveDetailsEdit.qml')
-rw-r--r--qt-mobile/qml/DiveDetailsEdit.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml
index 7211639c1..14366fec4 100644
--- a/qt-mobile/qml/DiveDetailsEdit.qml
+++ b/qt-mobile/qml/DiveDetailsEdit.qml
@@ -21,11 +21,12 @@ Item {
property alias notesText: txtNotes.text
property alias durationText: txtDuration.text
property alias depthText: txtDepth.text
+ property int forcedWidth
height: editArea.height
ColumnLayout {
id: editArea
spacing: MobileComponents.Units.smallSpacing
-
+ width: forcedWidth
GridLayout {
id: editorDetails
@@ -132,10 +133,13 @@ Item {
}
MobileComponents.Label {
- Layout.alignment: Qt.AlignRight
+ Layout.columnSpan: 2
+ Layout.alignment: Qt.AlignLeft
text: "Notes:"
}
TextArea {
+ Layout.columnSpan: 2
+ width: parent.width
id: txtNotes
textFormat: TextEdit.RichText
focus: true