From 0511fade5cfaf5a189b85734a7a2ddd7e5fc096f Mon Sep 17 00:00:00 2001 From: "B.Melnik" Date: Wed, 8 Sep 2021 03:56:52 +0300 Subject: [PATCH] fix(StatusAppThreePanelLayout): Fix margin between left and center panels This margin shows because of `handle` width incuded in `SplitView` width. Handle have `Component` type and can't accessable for getting sizes. I add `magic constant` as hotfix. Closes: #307 --- ui/StatusQ/src/StatusQ/Layout/StatusAppThreePanelLayout.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/StatusQ/src/StatusQ/Layout/StatusAppThreePanelLayout.qml b/ui/StatusQ/src/StatusQ/Layout/StatusAppThreePanelLayout.qml index 241a44772b..019549ea6c 100644 --- a/ui/StatusQ/src/StatusQ/Layout/StatusAppThreePanelLayout.qml +++ b/ui/StatusQ/src/StatusQ/Layout/StatusAppThreePanelLayout.qml @@ -29,6 +29,7 @@ SplitView { SplitView.minimumWidth: 300 SplitView.fillWidth: true SplitView.fillHeight: true + leftPadding: -5 contentItem: (!!centerPanel) ? centerPanel : null background: Rectangle { anchors.fill: parent