Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.15.6, 6.2.0
-
None
Description
When customizing QToolBox with css/qss fails, when changing the label size of the QToolBoxButton / QToolBox:tab.
QWidget { font-family: "Segoe UI", "Open Sans", Helvetica, Sans-serif; background: #fff; border: none; } QToolBox::tab { background: rgba(197, 197, 197, 0.21); font-size: 16px; font-weight: 500; color: #000100; padding: 6px; border: none; }
Produces a QToolBox like this:
Also, when I try to use QFontMetrics from the child casted to an QAbstractButton it returns a size of QSize
{2,0}.