Browse Source

Added obsolete attr to slider

Tig 1 year ago
parent
commit
5ef4b4c015
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Terminal.Gui/Views/Slider.cs

+ 1 - 0
Terminal.Gui/Views/Slider.cs

@@ -381,6 +381,7 @@ public class Slider<T> : View
     ///     For testing, if there is no SuperView, the slider will be sized based on what <see cref="InnerSpacing"/> is
     ///     set to.
     /// </remarks>
+    [ObsoleteAttribute ("Use Dim.Auto instead.", false)]
     public override bool AutoSize
     {
         get => _config._autoSize;