MCPcopy Create free account
hub / github.com/SpartanJ/eepp / notifyLayoutAttrChangeParent

Method notifyLayoutAttrChangeParent

src/eepp/ui/uiwidget.cpp:716–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714}
715
716void UIWidget::notifyLayoutAttrChangeParent() {
717 if ( NULL == mParentNode )
718 return;
719
720 invalidateIntrinsicSize();
721
722 if ( 0 == mAttributesTransactionCount ) {
723 NodeMessage msg( this, NodeMessage::LayoutAttributeChange );
724 mParentNode->messagePost( &msg );
725 } else {
726 mFlags |= UI_PARENT_ATTRIBUTE_CHANGED;
727 }
728}
729
730Float UIWidget::getMinIntrinsicWidth() const {
731 if ( mWidthPolicy == SizePolicy::Fixed )

Callers

nothing calls this directly

Calls 1

messagePostMethod · 0.80

Tested by

no test coverage detected