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 Michał Cieślak
parent d8d5048622
commit 0511fade5c
1 changed files with 1 additions and 0 deletions

View File

@ -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