From ba4bb567019297e6073f4bcea9938b249e06da73 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 28 Jan 2016 22:49:46 -0800 Subject: QML UI: better way to determine dive details edit width Instead of passing magic values around, calculate the columnWidth as part of the SubsurfaceTheme object. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 1 - 1 file changed, 1 deletion(-) (limited to 'qt-mobile/qml/DiveDetails.qml') diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 2b530b660..7aabdfdbf 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -60,7 +60,6 @@ MobileComponents.Page { detailsEdit.buddyText = diveDetailsListView.currentItem.modelData.dive.buddy detailsEdit.divemasterText = diveDetailsListView.currentItem.modelData.dive.divemaster detailsEdit.notesText = diveDetailsListView.currentItem.modelData.dive.notes - detailsEdit.forcedWidth = diveDetailsPage.width diveDetailsPage.state = "edit" } } -- cgit v1.2.3-70-g09d2