Ah, yes, I forgot to mention that I wanted the PullDownMenu to appear below the header, but thinking about it it's more convenient to have it always visible. Thanks.
Now I just need to position the SilicaListView correctly. "y: header.height;" pushes the header bar down header.height, "topMargin: header.height;" and "anchors.top: header.bottom;" have nada effect for some reason..? On Thursday 11 June 2015 05:05:24 Kimmo Lindholm wrote: > 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/SoundSe > > lectDialog.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 -- Med venlig hilsen / Best regards Thomas Tanghus
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org