diff options
author | Alessandro Portale <alessandro.portale@digia.com> | 2014-07-15 17:09:31 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@digia.com> | 2014-07-15 17:27:03 +0200 |
commit | ff6930d45273376d366d74f39bc944d1de09e021 (patch) | |
tree | d0a80e6d9c0cb87877a96d59072839e4606f053d /src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp | |
parent | 5f23a89947c909f019948ab5f5396a8e0ea7c734 (diff) | |
download | qt-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