Improve MainPane when reduced to minimumSize

This commit is contained in:
miruka
2020-03-12 23:17:23 -04:00
parent ca53e18e24
commit 02d09f405a
8 changed files with 57 additions and 6 deletions

View File

@@ -42,7 +42,6 @@ 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