mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Fixed checkbox dependency on internal API
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user