summaryrefslogtreecommitdiff
path: root/src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@digia.com>2014-07-15 17:09:31 +0200
committerAlessandro Portale <alessandro.portale@digia.com>2014-07-15 17:27:03 +0200
commitff6930d45273376d366d74f39bc944d1de09e021 (patch)
treed0a80e6d9c0cb87877a96d59072839e4606f053d /src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp
parent5f23a89947c909f019948ab5f5396a8e0ea7c734 (diff)
downloadqt-creator-ff6930d45273376d366d74f39bc944d1de09e021.tar.gz
ProjectExplorer: Dynamic padding for mini targetselector
ListWidget::padding() returned a contant 30, which can be too small if the style has wider scrollbars than that. This patch add pixel metrics from the style to roughly calculate the needed padding, and adds 10 pixels to it. Change-Id: Ia9b54174f9a91dee80ad99b4d9ad2489cde220c5 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp')
0 files changed, 0 insertions, 0 deletions