From 930e61336212a44852d57dec752c15cb289ec5a2 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Mon, 23 Oct 2023 08:40:26 -0700 Subject: [PATCH] homescreens/folio: Fix settings button styling --- .../ui/settings/SettingsComponent.qml | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/containments/homescreens/folio/package/contents/ui/settings/SettingsComponent.qml b/containments/homescreens/folio/package/contents/ui/settings/SettingsComponent.qml index cb839f91..492b350b 100644 --- a/containments/homescreens/folio/package/contents/ui/settings/SettingsComponent.qml +++ b/containments/homescreens/folio/package/contents/ui/settings/SettingsComponent.qml @@ -51,20 +51,22 @@ Item { anchors.centerIn: parent spacing: Kirigami.Units.largeSpacing - QQC2.ToolButton { - icon.source: 'edit-image' + PC3.ToolButton { text: i18n('Wallpapers') enabled: false - display: QQC2.ToolButton.TextUnderIcon + display: PC3.ToolButton.TextUnderIcon + + icon.name: 'edit-image' implicitHeight: Kirigami.Units.gridUnit * 4 implicitWidth: Kirigami.Units.gridUnit * 5 } - QQC2.ToolButton { - icon.source: 'settings-configure' + PC3.ToolButton { text: ('Settings') - display: QQC2.ToolButton.TextUnderIcon + display: PC3.ToolButton.TextUnderIcon + + icon.name: 'settings-configure' implicitHeight: Kirigami.Units.gridUnit * 4 implicitWidth: Kirigami.Units.gridUnit * 5 @@ -76,11 +78,12 @@ Item { } } - QQC2.ToolButton { - icon.source: 'widget-alternatives' + PC3.ToolButton { text: 'Widgets' enabled: false - display: QQC2.ToolButton.TextUnderIcon + display: PC3.ToolButton.TextUnderIcon + + icon.name: 'widget-alternatives' implicitHeight: Kirigami.Units.gridUnit * 4 implicitWidth: Kirigami.Units.gridUnit * 5