diff --git a/src/layouts/QskLayoutConstraint.h b/src/layouts/QskLayoutConstraint.h index 7a567764..13f3ce97 100644 --- a/src/layouts/QskLayoutConstraint.h +++ b/src/layouts/QskLayoutConstraint.h @@ -22,10 +22,10 @@ namespace QskLayoutConstraint { enum Type { - Unconstrained, + Unconstrained = 0, - WidthForHeight, - HeightForWidth + WidthForHeight = 1 << 0, + HeightForWidth = 1 << 1 }; QSK_EXPORT qreal heightForWidth( const QQuickItem*, qreal width );