[Gui] QSint: missing piece to fix QGroupBox visibility
- also the freecadscheme must be adapted (e.g. for PartDesign dialogs) - fixes now #6102 completely
This commit is contained in:
@@ -90,7 +90,7 @@ const char* ActionPanelDefaultStyle =
|
||||
"color: #006600;"
|
||||
"}"
|
||||
|
||||
// set a QGroupBox to avoid that the OS styles it, see
|
||||
// set a QGroupBox to avoid that the OS style is used, see
|
||||
// https://github.com/FreeCAD/FreeCAD/issues/6102
|
||||
// the px values are taken from Behave-dark.qss, except the padding
|
||||
"QSint--ActionGroup QFrame[class='content'] QGroupBox {"
|
||||
|
||||
@@ -93,6 +93,22 @@ const char* ActionPanelFreeCAD =
|
||||
"background-color: #ddeeff;"
|
||||
"color: #006600;"
|
||||
"}"
|
||||
|
||||
// set a QGroupBox to avoid that the OS style is used, see
|
||||
// https://github.com/FreeCAD/FreeCAD/issues/6102
|
||||
// the px values are taken from Behave-dark.qss, except the padding
|
||||
"QSint--ActionGroup QFrame[class='content'] QGroupBox {"
|
||||
"border: 1px solid #bbbbbb;"
|
||||
"border-radius: 3px;"
|
||||
"margin-top: 10px;"
|
||||
"padding: 2px;"
|
||||
"}"
|
||||
// since we set a custom frame we also need to set the title
|
||||
"QSint--ActionGroup QFrame[class='content'] QGroupBox::title {"
|
||||
"padding-left: 3px;"
|
||||
"top: -6px;"
|
||||
"left: 12px;"
|
||||
"}"
|
||||
;
|
||||
|
||||
const char* MinimumActionPanelFreeCAD =
|
||||
|
||||
Reference in New Issue
Block a user