From 260cd14a2b7331e8b6a607058b43ea26f32667a5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 21 Jan 2016 13:09:10 -0800 Subject: QML UI: maximize horizontal size of notes when editing This seems a bit brute force but I couldn't get the width to propagate correctly any other way. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-mobile/qml/DiveDetails.qml') diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 4d5b89aa0..1808bc5c5 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -47,6 +47,7 @@ MobileComponents.Page { detailsEdit.buddyText = diveListView.currentItem.modelData.dive.buddy detailsEdit.divemasterText = diveListView.currentItem.modelData.dive.divemaster detailsEdit.notesText = diveListView.currentItem.modelData.dive.notes + detailsEdit.forcedWidth = diveDetailsPage.width diveDetailsPage.state = "edit" } } -- cgit v1.2.3-70-g09d2