center signs on buttons a bit more
svn path=/trunk/KDE/kdebase/workspace/; revision=723041
This commit is contained in:
parent
f15da268a1
commit
f1ae14343e
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
|
||||||
QColor bg = globalHelper->backgroundTopColor(palette().window());
|
QColor bg = globalHelper->backgroundTopColor(palette().window());
|
||||||
painter.drawPixmap(0, 0, globalHelper->windecoButton(palette().button()));
|
painter.drawPixmap(0, 0, globalHelper->windecoButton(palette().button()));
|
||||||
|
|
||||||
painter.translate(1,1);
|
painter.translate(1.5,1.5);
|
||||||
painter.setRenderHints(QPainter::Antialiasing);
|
painter.setRenderHints(QPainter::Antialiasing);
|
||||||
painter.setBrush(Qt::NoBrush);
|
painter.setBrush(Qt::NoBrush);
|
||||||
QLinearGradient lg(0, 6, 0, 12);
|
QLinearGradient lg(0, 6, 0, 12);
|
||||||
|
|
Loading…
Reference in a new issue