mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: switch edit back to not being a drawer
With this edit seems to work again. The edit page can be scrolled around on smaller screens to allow editing every part of it and to allow the user to press the "save" button. This is mainly intended to make sure testing can continue - it's unclear if this will be the final design. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3116bc06fb
commit
f84e823879
2 changed files with 32 additions and 31 deletions
|
|
@ -21,13 +21,9 @@ Item {
|
|||
property alias notesText: txtNotes.text
|
||||
property alias durationText: txtDuration.text
|
||||
property alias depthText: txtDepth.text
|
||||
height: editArea.height
|
||||
ColumnLayout {
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
top: parent.top
|
||||
margins: MobileComponents.Units.gridUnit
|
||||
}
|
||||
id: editArea
|
||||
spacing: MobileComponents.Units.smallSpacing
|
||||
|
||||
|
||||
|
|
@ -169,7 +165,7 @@ Item {
|
|||
diveListView.currentItem.modelData.buddy = detailsEdit.buddyText
|
||||
diveListView.currentItem.modelData.divemaster = detailsEdit.divemasterText
|
||||
diveListView.currentItem.modelData.notes = detailsEdit.notesText
|
||||
editDrawer.close()
|
||||
diveDetailsPage.state = "view"
|
||||
}
|
||||
}
|
||||
Item {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue