How about this? Dialog { SilicaListView { anchors.fill: parent PullDownMenu { /* MenuItems */ } header: Column { width: parent.width DialogHeader { title: "Title" } SearchField { width: parent.width } } } }
I must be possible to do, but maybe my head is just wired wrong - well, I do have that one paper already, so... :D How to have a SilicaListView with a SearchField inside a Dialog with a DialogHeader and a menu, where the SearchField is below the DialogHeader, the list starts below both? Every even semi-logical way to do this ends up, for me at least, with an unholy mess. What for me would seem logical is be a variation of: Dialog { SilicaListView { PullDownMenu { /* MenuItems */ } header: DialogHeader { id: dialogHeader } SearchField { parent: dialogHeader.extraContent } } } or: Dialog { SilicaListView { PullDownMenu { /* MenuItems */ } header: Column { DialogHeader {} SearchField {} } } } Neither works, but as coderus wrote to me in a PR 4-5 years ago, I do weird stuff ;) I could write all the variations I've tried, but that would just be a parade of more weird stuff with variations over missing or misplaced header, menu, search field or list. _______________________________________________ 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