Commit 4362285c authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Fixes: Improved outputpane buttons

Details:
I was not entirely happy about how they looked.
This should fix a text centering issue as well as
improve shadows and reduce hover glare. I also made
them slightly transparent to blend them into the
background color a bit.
parent ac8ed036
......@@ -520,7 +520,7 @@ void OutputPaneToggleButton::paintEvent(QPaintEvent *event)
QPushButton::paintEvent(event);
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);
QPainter p(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment