Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 483 B |
Before Width: | Height: | Size: 439 B After Width: | Height: | Size: 518 B |
Before Width: | Height: | Size: 440 B After Width: | Height: | Size: 466 B |
@@ -520,7 +520,7 @@ void OutputPaneToggleButton::paintEvent(QPaintEvent *event)
|
|||||||
QPushButton::paintEvent(event);
|
QPushButton::paintEvent(event);
|
||||||
|
|
||||||
const QFontMetrics fm = fontMetrics();
|
const QFontMetrics fm = fontMetrics();
|
||||||
const int baseLine = (height() - fm.height()) / 2 + fm.ascent();
|
const int baseLine = (height() - fm.height() + 1) / 2 + fm.ascent();
|
||||||
const int numberWidth = fm.width(m_number);
|
const int numberWidth = fm.width(m_number);
|
||||||
|
|
||||||
QPainter p(this);
|
QPainter p(this);
|
||||||
|