summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/controlcenter/appearance/AppearancePane.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/controlcenter/appearance/AppearancePane.qml b/modules/controlcenter/appearance/AppearancePane.qml
index 56332f1..177e7b9 100644
--- a/modules/controlcenter/appearance/AppearancePane.qml
+++ b/modules/controlcenter/appearance/AppearancePane.qml
@@ -526,6 +526,7 @@ RowLayout {
showBackground: true
Loader {
+ id: materialFontLoader
Layout.fillWidth: true
Layout.preferredHeight: item ? Math.min(item.contentHeight, 300) : 0
asynchronous: true
@@ -539,6 +540,10 @@ RowLayout {
spacing: Appearance.spacing.small / 2
model: Qt.fontFamilies()
+ StyledScrollBar.vertical: StyledScrollBar {
+ flickable: materialFontList
+ }
+
delegate: StyledRect {
required property string modelData
required property int index
@@ -592,6 +597,7 @@ RowLayout {
implicitHeight: fontFamilyMaterialRow.implicitHeight + Appearance.padding.normal * 2
}
}
+
}
}
@@ -615,6 +621,10 @@ RowLayout {
spacing: Appearance.spacing.small / 2
model: Qt.fontFamilies()
+ StyledScrollBar.vertical: StyledScrollBar {
+ flickable: monoFontList
+ }
+
delegate: StyledRect {
required property string modelData
required property int index
@@ -691,6 +701,10 @@ RowLayout {
spacing: Appearance.spacing.small / 2
model: Qt.fontFamilies()
+ StyledScrollBar.vertical: StyledScrollBar {
+ flickable: sansFontList
+ }
+
delegate: StyledRect {
required property string modelData
required property int index