Improve HDrawer complience/behavior with zoom

This commit is contained in:
miruka
2019-12-26 11:09:40 -04:00
parent fc7f7256a1
commit 35fd57be56
3 changed files with 4 additions and 7 deletions

View File

@@ -41,6 +41,7 @@ HTileDelegate {
Behavior on spacing { HNumberAnimation {} }
Binding on spacing {
id: spacebind
value: (roomPane.minimumSize - loadedImage.width) / 2
when: loadedImage &&
roomPane.width < loadedImage.width + theme.spacing * 2