Skip to content
Snippets Groups Projects
Commit a0bbb16a authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: relayout FontGroupBox.qml

parent 711fcfbb
No related branches found
No related tags found
No related merge requests found
...@@ -12,19 +12,26 @@ GroupBox { ...@@ -12,19 +12,26 @@ GroupBox {
Label { Label {
text: "Font" text: "Font"
} }
QFontComboBox { QWidget {
minimumWidth: 200 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 { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
...@@ -43,6 +50,7 @@ GroupBox { ...@@ -43,6 +50,7 @@ GroupBox {
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
checkable: true; checkable: true;
} }
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment