diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index 649a247f6..05606862a 100644 --- a/Terminal.Gui/Core/View.cs +++ b/Terminal.Gui/Core/View.cs @@ -1814,7 +1814,7 @@ namespace Terminal.Gui { get => textFormatter.Text; set { textFormatter.Text = value; - if (textFormatter.Size != Bounds.Size && (width == null || Bounds.Width == 0 || height == null || Bounds.Height == 0)) { + if (textFormatter.Size != Bounds.Size && (width == null && Bounds.Width == 0) || (height == null && Bounds.Height == 0)) { Bounds = new Rect (Bounds.X, Bounds.Y, textFormatter.Size.Width, textFormatter.Size.Height); } SetNeedsDisplay ();