/ QGIS Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
qgstabbarproxystyle: Fix tab size if the font is not overriden
`QgsTabBar::tabSizeHint` computes the size hint for a tab. However it takes into account the `LabelStyle` font even if the font is not overriden. This results in a wrong tab size if the tabSize font size is different from the default font. This issues is fixed by taking into account the `tabStyle` font only if the default font is overriden. Fixes: 78fc3ca Closes: #53181
- Loading branch information
Showing 1 changed file with 15 additions and 7 deletions.