Adjust padding.
This commit is contained in:
parent
5aa8cd4a9b
commit
798a491296
@ -152,7 +152,7 @@ PartitionBarsView::drawSection( QPainter* painter, const QRect& rect_, int x, in
|
|||||||
highlightColor.setAlpha( 120 );
|
highlightColor.setAlpha( 120 );
|
||||||
painter->setBrush( highlightColor );
|
painter->setBrush( highlightColor );
|
||||||
|
|
||||||
const int SEL_PADDING = 2;
|
const int SEL_PADDING = 1;
|
||||||
|
|
||||||
QRect selectionRect = rect;
|
QRect selectionRect = rect;
|
||||||
selectionRect.setX( x + 1 );
|
selectionRect.setX( x + 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user