Gui: fix taskpanel header label font descents
This commit is contained in:
committed by
Kacper Donat
parent
4b068f4b81
commit
e3a320fd2c
@@ -80,7 +80,7 @@ void ActionLabel::paintEvent(QPaintEvent *event)
|
||||
QIcon icon = this->icon();
|
||||
QString text = this->text();
|
||||
|
||||
QRect contentRect = rect().adjusted(elementSpacing, elementSpacing, -elementSpacing, -elementSpacing); // Apply margins
|
||||
QRect contentRect = rect().adjusted(elementSpacing, 0, -elementSpacing, 0); // Apply margins
|
||||
|
||||
int currentX = contentRect.left();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user