Explorar o código

Added obsolete attr to slider

Tig hai 1 ano
pai
achega
5ef4b4c015
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;