Hi, did you try extraContent?
https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-dialogheader.html/#extraContent-prop lG, Michael. On Samstag, 4. Jänner 2020 16:00:29 CET Thomas Tanghus wrote: > 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