QDockWidget::title (Need to change the font & size)
qt, qtstylesheets
Solution
Font should be applied to the QDockWidget itself, not to the sub-control ::title
QDockWidget { font-family: "Roboto Lt"; font-size: 18pt; }
Problem
I have following style sheet set for QDockWidgets in my QT app. All the things mentioned in the style are working except for the font. Why is "font" is not detected & how could I change the font & size of QDockWidget title ? ``` QDockWidget::title { font: 18pt "Roboto Lt"; background: lightgray; padding-left: 10px; padding-top: 4px; } ```