From 48c175e483adaa4c2aedbe47157b371d9d55ad10 Mon Sep 17 00:00:00 2001 From: reionwong Date: Thu, 24 Jun 2021 02:23:18 +0800 Subject: [PATCH] Change dock visibility style --- src/qml/Dock/Main.qml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/qml/Dock/Main.qml b/src/qml/Dock/Main.qml index 506e572..713b108 100644 --- a/src/qml/Dock/Main.qml +++ b/src/qml/Dock/Main.qml @@ -146,21 +146,22 @@ ItemPage { Label { text: qsTr("Visibility") color: FishUI.Theme.disabledTextColor + bottomPadding: FishUI.Units.smallSpacing } - ComboBox { + TabBar { Layout.fillWidth: true - model: ListModel { - ListElement { - name: qsTr("Always show") - } - - ListElement { - name: qsTr("Always hidden") - } - } currentIndex: appearance.dockVisibility onCurrentIndexChanged: appearance.setDockVisibility(currentIndex) + + TabButton { + text: qsTr("Always show") + } + + TabButton { + text: qsTr("Always hidden") + } + } }