TheGrudge
15th November 2018, 13:12
Hi, I have a tooltip with rich text set on a QLabel.
The problem is that it renders an approx. 5px margin left and right and 1px margin on top and bottom.
I tried to remove it with a stylesheet:
QToolTip {margin:0;padding:0;}
but it doesn't seem to work.
12981
Is it possible to remove the margin from the tooltip in another way?
I tried every CSS rule I can think of, but none of them worked.
The problem is that it renders an approx. 5px margin left and right and 1px margin on top and bottom.
I tried to remove it with a stylesheet:
QToolTip {margin:0;padding:0;}
but it doesn't seem to work.
12981
Is it possible to remove the margin from the tooltip in another way?
I tried every CSS rule I can think of, but none of them worked.