<html><head></head><body data-blackberry-caret-color="#00a8df" style="background-color: rgb(255, 255, 255); line-height: initial;"><div id="BB10_response_div" style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br style="display:initial"></div>                                                                                                                                     <div id="response_div_spacer" style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">This makes the Separator line just thicker, but do not help. I have the same problems also with Image - with explicitly set height or not. Or Column with nested Row.</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">For now I created my own delegate, don't know what's wrong, but maybe some elements are not recognised as children?! </div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Gabriel.</div>                                                                                                                                     <div id="_signaturePlaceholder" style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"></div>                                                                                                                                                                                        <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td id="_persistentHeaderContainer" colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);">                                              <div id="_persistentHeader" style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;">  <div><b>Von: </b>Mikko Leppänen</div><div><b>Gesendet: </b>Mittwoch, 22. Januar 2014 13:15</div><div><b>An: </b>Sailfish OS Developers</div><div><b>Antwort an: </b>Sailfish OS Developers</div><div><b>Betreff: </b>Re: [SailfishDevel] Does BackgroundItem not accept all elements?</div></div></td></tr></tbody></table><div id="_persistentHeaderEnd" style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div><br><div id="_originalContent" style=""><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Define some height for the separator item.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
/Mikko<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/22 Gabriel Böhme <span dir="ltr"><<a href="mailto:m.gabrielboehme@googlemail.com" target="_blank">m.gabrielboehme@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi sailors,<br>
<br>
I have a ListView and want to create a delegate for it. So I use the<br>
BackgroundItem as Silica Documentation recommend, but it seems, that the<br>
BackgroundItem is not accepting all elements.<br>
<br>
Easy example:<br>
<br>
BackgroundItem {<br>
    id: background<br>
<br>
    highlightedColor: Theme.secondaryHighlightColor<br>
<br>
    onClicked: {<br>
        console.log("clicked: "+index)<br>
    }<br>
<br>
    Column {<br>
        id: background_content<br>
<br>
        spacing: Theme.paddingSmall<br>
        width: parent.width<br>
<br>
        TextEdit {<br>
            text: tmdb_title<br>
            color: Theme.highlightColor<br>
            font.pixelSize: Theme.fontSizeMedium<br>
            wrapMode: TextEdit.Wrap<br>
            readOnly: true<br>
        }<br>
        Label {<br>
            text: "Released: "+tmdb_release_date<br>
            color: Theme.primaryColor<br>
            font.pixelSize: Theme.fontSizeMedium<br>
        }<br>
        Separator {<br>
            width: parent.width<br>
            color: Theme.highlightColor<br>
        }<br>
    }<br>
<br>
In this case the BackgroundItem just accepts the TextEdit and the Label,<br>
but not the Separator. Which can be seen by clicking it. Setting the<br>
contentHeight, does not change this behavior, it's just results in not<br>
showing the highlighted color anymore.<br>
<br>
Do I miss something? Whats wrong here?<br>
<br>
Thanks, Gabriel.<br>
<br>
<br>
<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
</blockquote></div><br><br></div></div>
<br><!--end of _originalContent --></div></body></html>