Преглед на файлове

Merge pull request #3882 from tig/v2_UICatalog-StatusBar

Fixes issue with UICatalog statusbar not show/hiding
Tig преди 8 месеца
родител
ревизия
a9769e997c
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  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;
                                              })),