Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Qt Quick GridLayout how to set item to column and row like qt widgets?
glararan last edited by
Im newbie to Qt Quick, I choosed it because it have animations, scalability and easy porting to mobile devices.
But Im very confused how works layouts. Its not like Qt widgets.
I'm trying to make Grid with 2 columns and few rows. First column used by icon and second for text.. how to make text for example in third row dynamicly changing height. This grid should have 250px width...
Example image: http://ctrlv.cz/rzbf
Red rectangle means dynamic text...
I can't figure out how GridLayout works... this code not working :/
Thanks for help!
@glararan IMO it would be better to use a
ListViewwith a custom delegate consisting of those items i.e
Imageon left side with
Textitems anchored to its right.