Re: [Interest] QML ListView: automatically change width

2015-08-16 Thread Igor Mironchik
Hi. On 16.08.2015 18:26, Dmitry Volosnykh wrote: Another way might be using childrenRect.width property. Great. Works. Thank you. On Sun, Aug 16, 2015 at 6:22 PM, Igor Mironchik mailto:igor.mironc...@gmail.com>> wrote: Hi, On 16.08.2015 17:27, Dmitry Volosnykh wrote: Did you

Re: [Interest] QML ListView: automatically change width

2015-08-16 Thread Dmitry Volosnykh
Another way might be using childrenRect.width property. On Sun, Aug 16, 2015 at 6:22 PM, Igor Mironchik wrote: > Hi, > > On 16.08.2015 17:27, Dmitry Volosnykh wrote: > > Did you try to bind height to contentHeight? > > > Nice idea. It works but I receive next warning: > > QML ListView: Binding l

Re: [Interest] QML ListView: automatically change width

2015-08-16 Thread Igor Mironchik
Hi, On 16.08.2015 17:27, Dmitry Volosnykh wrote: Did you try to bind height to contentHeight? Nice idea. It works but I receive next warning: Konsole output QML ListView: Binding loop detected for property "width" It from here: ListView { anchors.centerIn: parent ori

Re: [Interest] QML ListView: automatically change width

2015-08-16 Thread Dmitry Volosnykh
Did you try to bind height to contentHeight? On Sun, Aug 16, 2015 at 5:23 PM, Igor Mironchik wrote: > Hi guys, > > How can I automatically change width of the QML ListView to fit all > content? > > -- > Best Regards, > Igor Mironchik. > > ___ > Interes

[Interest] QML ListView: automatically change width

2015-08-16 Thread Igor Mironchik
Hi guys, How can I automatically change width of the QML ListView to fit all content? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest