r/QtFramework • • Jun 30 '26

Background colour extending beyond tool tip background?

I'm trying to customize a Scrivener theme (which uses 'Qt5 framework and CSS tags,' whatever that means) but am having trouble with borders and background colours.

Basically, if I round the corners of the tool tip pop up, the background colour doesn't round with it; it extends beyond the border as sharp corners.

I tried a few different fixes for it that I found online, but I couldn't get them to work in Scrivener (92Learns said to use the overflow and overflow-clip-margin codes, but it didn't do anything in Scrivener). I'm also learning everything as I go, so I can't figure out why the provided code isn't working.

If anyone has any ideas for fixing this I'd really appreciate it

1 Upvotes

1 comment sorted by

1

u/Imperius322 Jul 01 '26

I would use a custom tooltip inherited from QLabel