| 109 | } |
| 110 | |
| 111 | UIWidget* UIWidget::setLayoutMarginLeft( const Float& marginLeft ) { |
| 112 | if ( mLayoutMargin.Left != marginLeft ) { |
| 113 | mLayoutMargin.Left = marginLeft; |
| 114 | mLayoutMarginPx.Left = eeceil( PixelDensity::dpToPx( mLayoutMargin.Left ) ); |
| 115 | onMarginChange(); |
| 116 | notifyLayoutAttrChange(); |
| 117 | notifyLayoutAttrChangeParent(); |
| 118 | } |
| 119 | |
| 120 | return this; |
| 121 | } |
| 122 | |
| 123 | UIWidget* UIWidget::setLayoutMarginRight( const Float& marginRight ) { |
| 124 | if ( mLayoutMargin.Right != marginRight ) { |
no outgoing calls
no test coverage detected