Răsfoiți Sursa

Fixed issue with statusbar not show/hiding

Tig 7 luni în urmă
părinte
comite
617f1fddb8
1 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 4 2
      UICatalog/UICatalog.cs

+ 4 - 2
UICatalog/UICatalog.cs

@@ -796,7 +796,8 @@ public class UICatalogApp
                                              {
                                                  if (_statusBar.NeedsLayout)
                                                  {
-                                                     //  throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
+                                                       throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
+                                                     //_statusBar.Layout ();
                                                  }
                                                  return _statusBar.Frame.Height;
                                              })),
@@ -825,7 +826,8 @@ public class UICatalogApp
                                              {
                                                  if (_statusBar.NeedsLayout)
                                                  {
-                                                     // throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
+                                                     throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
+                                                     //_statusBar.Layout ();
                                                  }
                                                  return _statusBar.Frame.Height;
                                              })),