Similar things as earlier.

Don't give y to Pulldownmenu, breaks.
Dialogheader not in Dialog, but in child.

https://gist.github.com/kimmoli/626c838174682c1f6f20

This uses SilicaFlickable as first child of dialog.

-kimmo

Thomas Tanghus kirjoitti to kesäkuuta 11 05:14:07 2015 GMT+0300:
> 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
> -- 
> Med venlig hilsen / Best regards
> 
> Thomas Tanghus

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

Reply via email to