diff --git a/Terminal.Gui/Views/Slider.cs b/Terminal.Gui/Views/Slider.cs index a233b1873..61ac401d6 100644 --- a/Terminal.Gui/Views/Slider.cs +++ b/Terminal.Gui/Views/Slider.cs @@ -50,6 +50,11 @@ public class Slider : View SetDefaultStyle (); SetCommands (); + SetContentSize (); + + // BUGBUG: This should not be needed - Need to ensure SetRelativeLayout gets called during EndInit + Initialized += (s, e) => { SetContentSize (); }; + LayoutStarted += (s, e) => { SetContentSize (); }; }