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 { Drawer {
id: drawer id: drawer
implicitWidth: horizontal ? calculatedSize : referenceSizeParent.width implicitWidth: horizontal ? calculatedSize : parent.width
implicitHeight: vertical ? calculatedSize : referenceSizeParent.height implicitHeight: vertical ? calculatedSize : parent.height
topPadding: 0 topPadding: 0
bottomPadding: 0 bottomPadding: 0