Gui: fix taskpanel header label font descents

This commit is contained in:
Alfredo Monclus
2025-06-05 20:31:59 -06:00
committed by Kacper Donat
parent 3ebe4b4264
commit 5e2045d391

View File

@@ -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();