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

@@ -16,8 +16,6 @@ SwipeView {
property alias headerLabel: innerHeaderLabel
property var hideHeaderUnderHeight: null
property bool wide: width > 414 + leftPadding + rightPadding
property int currentSpacing:
Math.min(theme.spacing * width / 400, theme.spacing * 2)