Unsolved QToolButton is adding extra padding by itself
-
Hi, I'm adding icons to QToolButtons with setIconSize(QSize(16, 16), but I'm getting this annoying extra padding on the right and bottom. Anyone have an idea why?
-
Hi
yes its reserved for hover effect. ( blue frame)
I dont know any way easy to get rid of it. -
I can adjust padding using a stylesheet.
QToolButton { padding: -1 -2 -2 -1; }
Resets the padding completely, but I'm getting varying results on different QToolBars, was hoping there was a good way to reset it properly.
-
Hi
I tried with QProxyStyle but could not guess where it get the border from so gave up and went with stylesheet.