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
This commit is contained in:
B.Melnik 2021-09-08 03:56:52 +03:00 committed by Pascal Precht
parent 89f54a85c8
commit 29e9557d5f
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ SplitView {
SplitView.minimumWidth: 300 SplitView.minimumWidth: 300
SplitView.fillWidth: true SplitView.fillWidth: true
SplitView.fillHeight: true SplitView.fillHeight: true
leftPadding: -5
contentItem: (!!centerPanel) ? centerPanel : null contentItem: (!!centerPanel) ? centerPanel : null
background: Rectangle { background: Rectangle {
anchors.fill: parent anchors.fill: parent