diff --git a/UICatalog/UICatalog.cs b/UICatalog/UICatalog.cs index ffbf863b9..98617276a 100644 --- a/UICatalog/UICatalog.cs +++ b/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; })),