Explorar o código

LayoutSubviews before calculate the Height on the Progress scenario.

BDisp %!s(int64=4) %!d(string=hai) anos
pai
achega
7dc48cc34f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      UICatalog/Scenarios/Progress.cs

+ 1 - 0
UICatalog/Scenarios/Progress.cs

@@ -100,6 +100,7 @@ namespace UICatalog {
 				};
 				Add (_startedLabel);
 
+				LayoutSubviews ();
 
 				// Set height to height of controls + spacing + frame
 				Height = 2 + _verticalSpace + Dim.Height (startButton) + _verticalSpace + Dim.Height (ActivityProgressBar) + _verticalSpace + Dim.Height (PulseProgressBar) + _verticalSpace;