Hello,

I am trying to make the top and bottom padding zero in my QLabel. I have tried all the options below but none of them seem to work.
Am i missing something? In smaller fonts, the padding is negligible. As the font size increases(in my case 192 Sans Serif), the top and bottom padding are too big to ignore.

QLabel *newLabel = new QLabel("Text", this);
this->setStyleSheet("QLabel { border: 0px; }");
newLabel->setAlignment(Qt::AlignTop);
newLabel->setStyleSheet("background-color: yellow; color: blue; font-size: 192px; padding: 0 0 0 0px; border: 0 0 0 0px");
newLabel->setIndent(0);
newLabel->setMargin(0);
newLabel->setContentsMargins(0, 0, 0, 0);
newLabel->setFrameShape(QFrame::HLine);
newLabel->setFrameStyle(QFrame::NoFrame);


Is there anything I must try?
Any help would be greatly appreciated as this is really bothering me.

Thank you.