aboutsummaryrefslogtreecommitdiffstats
path: root/core/strndup.h
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2016-05-04 07:30:55 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-03 15:21:55 -0700
commit9aa95dc233d91bf2f10ea1cf79dec0ff13379c2d (patch)
tree3ac7fcf0668fa855e8b2d6cf1432f26216d7456a /core/strndup.h
parentd8699110d3cb85c19616b077daba7953243dac05 (diff)
downloadsubsurface-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