You did some weird stuff... I sent PR: https://github.com/tanghus/kitchen-timer-qml/pull/6

But imho it's better to use /[..]/ folder to navigate up and not use PullDown menu for this.

P.S. I personally prefer using this:
var picker = pageStack.push("Sailfish.Pickers.MusicPickerPage", {"title": qsTr("Select timer ringtone")}) picker.selectedContentChanged.connect(function() { console.log(picker.selectedContent) })

11.06.2015 07:14, Thomas Tanghus пишет:
Hi

I have a Dialog with a SilicaListView as a file picker. Now I want to have a
PullDownMenu with a single MenuItem to go one level up.
It kinda works, but the positioning is all messed up.

Problem 1: The indicator is placed a tad below the header, so I made an ugly
hack setting "y:  - Theme.paddingLarge;", but that's not a viable solution.

Problem 2: When the menu is pulled down it appears at the height of the
DialogHeader below the DialogHeader - if that makes sense? :P

Is a PullDownMenu in a Dialog not supported, or am I doing something wrong?

https://github.com/tanghus/kitchen-timer-qml/blob/master/qml/pages/SoundSelectDialog.qml#L58


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to