diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-05-04 07:30:55 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-05-03 15:21:55 -0700 |
commit | 9aa95dc233d91bf2f10ea1cf79dec0ff13379c2d (patch) | |
tree | 3ac7fcf0668fa855e8b2d6cf1432f26216d7456a /core/strndup.h | |
parent | d8699110d3cb85c19616b077daba7953243dac05 (diff) | |
download | subsurface-9aa95dc233d91bf2f10ea1cf79dec0ff13379c2d.tar.gz |
QML Set width instead of minimumWidth equal to maximumWidth
The QML manual advises against setting width property of gridLayout children
directly, and recommends setting preferred, min and/or max width instead,
letting QML do the work to determine the optimum width. But we've found
letting QML determine gridLayout widths leads to infinite loops in too many
situations, so we're forcing a width. It's better to force a width by setting
it directly, rather than setting minimum = maximum.
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/strndup.h')
0 files changed, 0 insertions, 0 deletions