| 714 | } |
| 715 | |
| 716 | void 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 | |
| 730 | Float UIWidget::getMinIntrinsicWidth() const { |
| 731 | if ( mWidthPolicy == SizePolicy::Fixed ) |
nothing calls this directly
no test coverage detected