-rw-r--r-- | noncore/styles/liquid/liquid.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp index acf0a42..67e53e9 100644 --- a/noncore/styles/liquid/liquid.cpp +++ b/noncore/styles/liquid/liquid.cpp | |||
@@ -1522,3 +1522,3 @@ void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb, | |||
1522 | } | 1522 | } |
1523 | subB.setRect( subX,subY,buttonDim,buttonDim ); | 1523 | subB.setRect( subX,subY,0,0); // buttonDim,buttonDim ); |
1524 | addB.setRect( addX,addY,buttonDim,buttonDim ); | 1524 | addB.setRect( addX,addY,buttonDim,buttonDim ); |
@@ -1550,3 +1550,3 @@ void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb, | |||
1550 | painter.begin(&sbBuffer); | 1550 | painter.begin(&sbBuffer); |
1551 | QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*3))+1); | 1551 | QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*2))+1); |
1552 | if(sliderR.height() >= 8){ | 1552 | if(sliderR.height() >= 8){ |
@@ -1616,3 +1616,3 @@ void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb, | |||
1616 | painter.begin(&sbBuffer); | 1616 | painter.begin(&sbBuffer); |
1617 | QRect bgR(subB.right()+1, 0, (len-(buttonDim*3))+1, sb->height()); | 1617 | QRect bgR(subB.right()+1, 0, (len-(buttonDim*2))+1, sb->height()); |
1618 | if(sliderR.width() >= 8){ | 1618 | if(sliderR.width() >= 8){ |
@@ -1687,6 +1687,6 @@ void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb, | |||
1687 | if ( controls & SubLine ) { | 1687 | if ( controls & SubLine ) { |
1688 | drawSBButton(p, subB, g, activeControl == SubLine); | 1688 | // drawSBButton(p, subB, g, activeControl == SubLine); |
1689 | drawArrow( p, horiz ? LeftArrow : UpArrow, | 1689 | // drawArrow( p, horiz ? LeftArrow : UpArrow, |
1690 | false, subB.x()+4, subB.y()+4, | 1690 | // false, subB.x()+4, subB.y()+4, |
1691 | subB.width()-8, subB.height()-8, g, !maxed); | 1691 | // subB.width()-8, subB.height()-8, g, !maxed); |
1692 | drawSBButton(p, subHC, g, activeControl == SubLine); | 1692 | drawSBButton(p, subHC, g, activeControl == SubLine); |
@@ -1791,4 +1791,4 @@ void LiquidStyle::scrollBarMetrics(const QScrollBar *sb, int &sliderMin, | |||
1791 | 1791 | ||
1792 | sliderMin = b + buttonDim; | 1792 | sliderMin = b + 0; // buttonDim; |
1793 | maxLength = length - b*2 - buttonDim*3; | 1793 | maxLength = length - b*2 - buttonDim*2; // 3; |
1794 | 1794 | ||