From a4bb63af8b8d019d4e532e0af282ec0664bc5b1b Mon Sep 17 00:00:00 2001 From: Tig Date: Wed, 15 May 2024 09:44:48 -0700 Subject: [PATCH] LineView uses DimAuto --- Terminal.Gui/Views/LineView.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Terminal.Gui/Views/LineView.cs b/Terminal.Gui/Views/LineView.cs index 8d9ccbe58..4191ed213 100644 --- a/Terminal.Gui/Views/LineView.cs +++ b/Terminal.Gui/Views/LineView.cs @@ -14,14 +14,14 @@ public class LineView : View switch (orientation) { case Orientation.Horizontal: - Height = 1; // BUGBUG: Views should avoid setting Height as doing so implies Frame.Size == ContentSize + Height = Dim.Auto (minimumContentDim: 1); Width = Dim.Fill (); LineRune = Glyphs.HLine; break; case Orientation.Vertical: Height = Dim.Fill (); - Width = 1; // BUGBUG: Views should avoid setting Height as doing so implies Frame.Size == ContentSize + Width = Dim.Auto (minimumContentDim: 1); LineRune = Glyphs.VLine; break;