typos fixed
This commit is contained in:
parent
539eed08b5
commit
37b7b47f1a
@ -67,7 +67,7 @@ class QSK_EXPORT QskControl : public QskQuickItem, public QskSkinnable
|
|||||||
Depending on the type of layout the value only works
|
Depending on the type of layout the value only works
|
||||||
in combination with RetainSizeWhenHidden
|
in combination with RetainSizeWhenHidden
|
||||||
*/
|
*/
|
||||||
LayoutOutWhenHidden = 1 << 1
|
LayoutWhenHidden = 1 << 1
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_ENUM( LayoutHint )
|
Q_ENUM( LayoutHint )
|
||||||
|
@ -187,7 +187,7 @@ void QskSkinlet::updateNode( QskSkinnable* skinnable, QSGNode* parentNode ) cons
|
|||||||
oldNode = findChildNode( parentNode, DebugRole );
|
oldNode = findChildNode( parentNode, DebugRole );
|
||||||
|
|
||||||
newNode = nullptr;
|
newNode = nullptr;
|
||||||
if ( control->testUpdateFlag( QskControl::DebugForceBackground ) )
|
if ( control->testUpdateFlag( QskQuickItem::DebugForceBackground ) )
|
||||||
newNode = updateDebugNode( control, oldNode );
|
newNode = updateDebugNode( control, oldNode );
|
||||||
|
|
||||||
replaceChildNode( DebugRole, parentNode, oldNode, newNode );
|
replaceChildNode( DebugRole, parentNode, oldNode, newNode );
|
||||||
|
@ -661,7 +661,7 @@ bool QskLayoutEngine2D::requiresAdjustment( const QQuickItem* item ) const
|
|||||||
if ( auto control = qskControlCast( item ) )
|
if ( auto control = qskControlCast( item ) )
|
||||||
{
|
{
|
||||||
constexpr auto mask =
|
constexpr auto mask =
|
||||||
QskControl::RetainSizeWhenHidden | QskControl::LayoutOutWhenHidden;
|
QskControl::RetainSizeWhenHidden | QskControl::LayoutWhenHidden;
|
||||||
|
|
||||||
if ( control->layoutHints() & mask )
|
if ( control->layoutHints() & mask )
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user