From 24243602ca7b92965428a066a6c863e2dff7dbd2 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 2 Mar 2023 16:51:48 -0600 Subject: [PATCH] making SplitView handles easier to target and providing highlighted feedback --- src/qml/presenter/MainWindow.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/qml/presenter/MainWindow.qml b/src/qml/presenter/MainWindow.qml index f81d423..9352374 100644 --- a/src/qml/presenter/MainWindow.qml +++ b/src/qml/presenter/MainWindow.qml @@ -65,18 +65,18 @@ Controls.Page { id: splitMainView anchors.fill: parent handle: Item{ - implicitWidth: 6 + implicitWidth: Kirigami.Units.gridUnit Rectangle { height: parent.height anchors.horizontalCenter: parent.horizontalCenter - width: 1 - color: Controls.SplitHandle.hovered ? Kirigami.Theme.hoverColor : Kirigami.Theme.backgroundColor + width: parent.width / 4 + color: parent.Controls.SplitHandle.hovered ? Kirigami.Theme.hoverColor : "#00000000" } } Presenter.ServiceList { id: leftDock - Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 30 + Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 25 Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 50 z: 1 } @@ -120,7 +120,7 @@ Controls.Page { Presenter.Library { id: library - Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 30 : 0 + Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 25 : 0 Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 50 visible: libraryOpen ? true : false }