Gui: Respect both content size and minimum width for buttons
This is a hacky fix for https://github.com/FreeCAD/FreeCAD/issues/23607 Basically after widget is shown or polished we enforce it's minimum size to at least cover the minimum size hint - something that QSS ignores if min-width is specified.
This commit is contained in:
committed by
Chris Hennes
parent
16032ae34c
commit
aefd2592a8
@@ -25,7 +25,7 @@
|
||||
</FCParamGroup>
|
||||
<FCParamGroup Name="MainWindow">
|
||||
<FCText Name="OverlayActiveStyleSheet">Freecad Overlay.qss</FCText>
|
||||
<FCText Name="QtStyle">Fusion</FCText>
|
||||
<FCText Name="QtStyle">FreeCAD</FCText>
|
||||
<FCText Name="StyleSheet">FreeCAD.qss</FCText>
|
||||
<FCText Name="Theme">FreeCAD Dark</FCText>
|
||||
</FCParamGroup>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</FCParamGroup>
|
||||
<FCParamGroup Name="MainWindow">
|
||||
<FCText Name="OverlayActiveStyleSheet">Freecad Overlay.qss</FCText>
|
||||
<FCText Name="QtStyle">Fusion</FCText>
|
||||
<FCText Name="QtStyle">FreeCAD</FCText>
|
||||
<FCText Name="StyleSheet">FreeCAD.qss</FCText>
|
||||
<FCText Name="Theme">FreeCAD Light</FCText>
|
||||
</FCParamGroup>
|
||||
|
||||
Reference in New Issue
Block a user