Browse Source

Merge pull request #3882 from tig/v2_UICatalog-StatusBar

Fixes issue with UICatalog statusbar not show/hiding
Tig 7 tháng trước cách đây
mục cha
commit
a9769e997c
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      UICatalog/UICatalog.cs

+ 4 - 2
UICatalog/UICatalog.cs

@@ -796,7 +796,8 @@ public class UICatalogApp
                                              {
                                              {
                                                  if (_statusBar.NeedsLayout)
                                                  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;
                                                  return _statusBar.Frame.Height;
                                              })),
                                              })),
@@ -825,7 +826,8 @@ public class UICatalogApp
                                              {
                                              {
                                                  if (_statusBar.NeedsLayout)
                                                  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;
                                                  return _statusBar.Frame.Height;
                                              })),
                                              })),