| 2629 | } |
| 2630 | |
| 2631 | Float UIWidget::getPropertyWidth() const { |
| 2632 | const StyleSheetProperty* prop = nullptr; |
| 2633 | if ( mStyle && ( prop = mStyle->getProperty( PropertyId::Width ) ) ) { |
| 2634 | return lengthFromValue( *prop ); |
| 2635 | } |
| 2636 | return 0.f; |
| 2637 | } |
| 2638 | |
| 2639 | Float UIWidget::getPropertyHeight() const { |
| 2640 | const StyleSheetProperty* prop = nullptr; |
no test coverage detected