using QskLayoutConstraint
This commit is contained in:
parent
4e2e2ce30e
commit
a93c263c87
@ -33,10 +33,8 @@ QSK_SYSTEM_STATE( QskControl, Disabled, QskAspect::FirstSystemState )
|
|||||||
QSK_SYSTEM_STATE( QskControl, Hovered, QskAspect::LastSystemState >> 1 )
|
QSK_SYSTEM_STATE( QskControl, Hovered, QskAspect::LastSystemState >> 1 )
|
||||||
QSK_SYSTEM_STATE( QskControl, Focused, QskAspect::LastSystemState )
|
QSK_SYSTEM_STATE( QskControl, Focused, QskAspect::LastSystemState )
|
||||||
|
|
||||||
// QGridLayoutEngine internally uses FLT_MAX
|
static QSizeF qskDefaultSizeHints[] =
|
||||||
static constexpr qreal qskSizeHintMax = std::numeric_limits< float >::max();
|
{ { 0, 0 }, { -1, -1 }, { QskLayoutConstraint::unlimited, QskLayoutConstraint::unlimited } };
|
||||||
static QSizeF qskDefaultSizeHints[ 3 ] =
|
|
||||||
{ { 0, 0 }, { -1, -1 }, { qskSizeHintMax, qskSizeHintMax } };
|
|
||||||
|
|
||||||
typedef quint16 controlFlags_t;
|
typedef quint16 controlFlags_t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user