aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testqPrefCloudStorage.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-08-27 00:37:01 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-26 23:06:00 -0700
commit5aa55e7ed59f5d31b456b432d0c6d35c82c76408 (patch)
tree118f780095ba58189b73520a964bc6e641b2f48f /tests/testqPrefCloudStorage.cpp
parenteaf1bdbe5f810d2bd1fd45c489a33c3bd7fd4a51 (diff)
downloadsubsurface-5aa55e7ed59f5d31b456b432d0c6d35c82c76408.tar.gz
modeldelegates: use font metrics for dive list row height
Include font metrics as part of the height in DiveListDelegate::sizeHint(). When 22px is hardcoded, this handles small fonts, but for larger fonts it seem that the bottom of the dive list row text is cut on Windows. Keep 22px as the minimum size hint, but for larger fonts use QFontMetric::height(). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'tests/testqPrefCloudStorage.cpp')
0 files changed, 0 insertions, 0 deletions