From 617f1fddb8198fc7e46f6fd1a6f7fed9370bd8a8 Mon Sep 17 00:00:00 2001 From: Tig Date: Thu, 5 Dec 2024 15:36:59 -0700 Subject: [PATCH] Fixed issue with statusbar not show/hiding --- UICatalog/UICatalog.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; })),