Standard way of knowing if window "is wide"

This commit is contained in:
miruka
2019-07-18 01:18:06 -04:00
parent 902ac250b0
commit fa61e8f0e3
6 changed files with 16 additions and 16 deletions

View File

@@ -26,7 +26,7 @@ HPage {
Layout.maximumWidth: Math.min(parent.width, 640)
Layout.preferredWidth:
wide ? parent.width : avatarPreferredSize
window.isWide ? parent.width : avatarPreferredSize
Layout.preferredHeight: childrenRect.height