HDrawer: provide real visible size prop→fix issues

This commit is contained in:
miruka
2019-12-09 13:52:02 -04:00
parent 6627c6341a
commit 2e780d7c6a
3 changed files with 6 additions and 2 deletions

View File

@@ -50,6 +50,8 @@ Drawer {
collapseExpandSize :
Math.max(minNormalSize, Math.min(normalSize, maxNormalSize))
readonly property int visibleSize: visible ? width * position : 0
readonly property bool horizontal:
edge === Qt.LeftEdge || edge === Qt.RightEdge