diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml index f8c89a880cc50f902a8d270bfd5862a32424eeb4..5418007450bc198dfad96e521a500acdf62799dc 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml @@ -12,19 +12,26 @@ GroupBox { Label { text: "Font" } - QFontComboBox { - minimumWidth: 200 + QWidget { + id: parentWidget + minimumWidth: 180 + minimumHeight: 24 + QFontComboBox { + width: parentWidget.width + height: parentWidget.height + } } - IntEditor { - caption: "Size" - slider: false - backendValue: backendValues.font_pointSize - baseStateFlag: isBaseState; - } - } } + IntEditor { + maximumWidth: 200 + caption: "Size" + slider: false + backendValue: backendValues.font_pointSize + baseStateFlag: isBaseState; + } + QWidget { layout: HorizontalLayout { Label { @@ -43,6 +50,7 @@ GroupBox { baseStateFlag: isBaseState; checkable: true; } + } } }