Procházet zdrojové kódy

LayoutSubviews before calculate the Height on the Progress scenario.

BDisp před 4 roky
rodič
revize
7dc48cc34f
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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;