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:
Qt Code:
  1. QToolTip {margin:0;padding:0;}
To copy to clipboard, switch view to plain text mode 
but it doesn't seem to work.

Unbenannt.PNG

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.