Standard way of knowing if window "is wide"
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user