+Vector3 Impl::DummyControl::GetNaturalSize()
+{
+ Vector2 currentSize;
+
+ for( auto elem : mRegisteredVisualIndices )
+ {
+ Vector2 naturalSize;
+ Visual::Base visual = GetVisual(elem);
+ visual.GetNaturalSize( naturalSize );
+ currentSize.width = std::max( naturalSize.width, currentSize.width );
+ currentSize.height = std::max( naturalSize.height, currentSize.height );
+ }
+
+ return Vector3( currentSize );
+}
+
+