Skip to content

Commit a9769e9

Browse files
authored
Merge pull request #3882 from tig/v2_UICatalog-StatusBar
Fixes issue with UICatalog statusbar not show/hiding
2 parents 5367e7b + 617f1fd commit a9769e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

UICatalog/UICatalog.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ public UICatalogTopLevel ()
796796
{
797797
if (_statusBar.NeedsLayout)
798798
{
799-
// throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
799+
throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
800+
//_statusBar.Layout ();
800801
}
801802
return _statusBar.Frame.Height;
802803
})),
@@ -825,7 +826,8 @@ public UICatalogTopLevel ()
825826
{
826827
if (_statusBar.NeedsLayout)
827828
{
828-
// throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
829+
throw new LayoutException ("DimFunc.Fn aborted because dependent View needs layout.");
830+
//_statusBar.Layout ();
829831
}
830832
return _statusBar.Frame.Height;
831833
})),

0 commit comments

Comments
 (0)