<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>How about this?<br>
    </p>
    <pre class="moz-quote-pre" wrap="">Dialog {
    SilicaListView {
        anchors.fill: parent
        PullDownMenu { /* MenuItems */ }
        header: Column {
            width: parent.width
            DialogHeader {
                title: "Title"
            }
            SearchField {
                width: parent.width
            }
        }
    }
}

</pre>
    <blockquote type="cite" cite="mid:7155996.iIQkp6EnVN@tanghus">
      <pre class="moz-quote-pre" wrap="">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.

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
    </blockquote>
  </body>
</html>