Explorar el Código

LayoutSubviews before calculate the Height on the Progress scenario.

BDisp hace 4 años
padre
commit
7dc48cc34f
Se han modificado 1 ficheros con 1 adiciones y 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;