From 05935f7fcab427cd40c80e935b378fb40f86b4d5 Mon Sep 17 00:00:00 2001 From: Tig Date: Tue, 14 May 2024 15:21:41 -0700 Subject: [PATCH] Fixed checkbox dependency on internal API --- Terminal.Gui/Views/CheckBox.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Terminal.Gui/Views/CheckBox.cs b/Terminal.Gui/Views/CheckBox.cs index d6fe755e7..8b1b9b971 100644 --- a/Terminal.Gui/Views/CheckBox.cs +++ b/Terminal.Gui/Views/CheckBox.cs @@ -180,8 +180,7 @@ public class CheckBox : View private string GetFormatterText () { - // BUGBUG: Dim.DimAuto is an internal API - if (Width is Dim.DimAuto || string.IsNullOrEmpty (Title) || ContentSize.Width <= 2) + if (string.IsNullOrEmpty (Title) || ContentSize.Width <= 2) { return Text; }