[Interest] Qml Flow and centering

Jérôme Godbout jerome at bodycad.com
Tue Jul 21 16:16:52 CEST 2015


Hi,
anybody have a good way to center items inside a Flow component in Qml?

example:
|--- a ---|
|-- b --||-- c --|

I would like to have
   I--- a ---|
|-- b --||-- c --|

I haven't find any way to get this behaviors to center and make auto
multi-lines on window resize. I think it's impossible since it would make a
binding loop to get item position based on the size used, but I take my
chance if anyone have an idea.

Thanks, regards,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150721/2b15a167/attachment.html>


More information about the Interest mailing list