[Interest] Tired of QML

Alexander Dyagilev alervdvcw at gmail.com
Sat Apr 15 15:03:11 CEST 2017


No, I meant non-intuitive behavior of QML... :(

I do not understand why this code does not work:

ListView{

anchors.fill:parent

model:downloadsModel

header:DownloadListHeader{}

delegate:DownloadListItem

{

preInfoColumnWidth:parent.header.preInfoColumnWidth

}
}

parent.header seems to be not accessible as preInfoColumnWidth initializes with 0. :(


On 4/15/2017 3:44 PM, Oleg Evseev wrote:
> In fact basic documentation link "Important Concepts In Qt Quick - 
> Positioning" http://doc.qt.io/qt-5/qtquick-positioning-topic.html is 
> the third one in most basic overview of Qt Quick 
> http://doc.qt.io/qt-5/qtquick-index.html
>
> It is a pity that you were tired earlier on first two basic links :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170415/ed5cef2c/attachment.html>


More information about the Interest mailing list