Fix a HDrawer weird size issue

This commit is contained in:
miruka 2019-12-09 12:16:23 -04:00
parent 7d50e8c6a8
commit e7abcced5f

View File

@ -4,8 +4,8 @@ import "../utils.js" as Utils
Drawer {
id: drawer
implicitWidth: horizontal ? calculatedSize : referenceSizeParent.width
implicitHeight: vertical ? calculatedSize : referenceSizeParent.height
implicitWidth: horizontal ? calculatedSize : parent.width
implicitHeight: vertical ? calculatedSize : parent.height
topPadding: 0
bottomPadding: 0