Skip to content

Commit 799976f

Browse files
committed
Fix font
1 parent 475fe88 commit 799976f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/libs/application/uishell/src/qml/PluginView.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,10 @@ Item {
148148
restartButton.hovered ? Theme.controlHoveredColorChange.apply(Theme.accentColor) :
149149
Theme.accentColor
150150
}
151+
font.pixelSize: 11
151152
contentItem: Text {
152153
color: Theme.foregroundPrimaryColor
153-
font: { font = Theme.font; font.pixelSize = 11 }
154+
font: restartButton.font
154155
horizontalAlignment: Text.AlignHCenter
155156
text: restartButton.text
156157
}

src/libs/application/uishell/src/qml/WelcomeWizardDialog.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ Window {
9090
Label {
9191
Layout.alignment: Qt.AlignHCenter
9292
text: qsTr("Welcome")
93-
font.pointSize: 24
93+
font.pixelSize: 32
9494
}
9595
Label {
9696
Layout.alignment: Qt.AlignHCenter
9797
text: qsTr("This wizard will help you complete the initial configuration")
98-
font.pointSize: 12
98+
font.pixelSize: 16
9999
}
100100
}
101101
}

src/plugins/importexportmanager/qml/panels/ImportPanel.qml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ QtObject {
2626
Label {
2727
Layout.leftMargin: 16
2828
Layout.rightMargin: 16
29-
font: { font = Theme.font; font.pointSize = 12 }
29+
font.pixelSize: 16
3030
text: qsTr("Select a format to import")
3131
}
3232
ScrollView {
@@ -47,6 +47,7 @@ QtObject {
4747
implicitHeight: implicitContentHeight + topPadding + bottomPadding
4848
padding: 8
4949
rightPadding: 24
50+
font.pixelSize: 16
5051
text: modelData.name
5152
onClicked: d.addOn.execImport(modelData)
5253
background: ButtonRectangle {
@@ -64,7 +65,7 @@ QtObject {
6465
contentItem: ColumnLayout {
6566
Text {
6667
Layout.fillWidth: true
67-
font: { font = Theme.font; font.pointSize = 12 }
68+
font: control.font
6869
text: control.text
6970
wrapMode: Text.Wrap
7071
color: Theme.foregroundPrimaryColor

0 commit comments

Comments
 (0)