소스 검색

Added obsolete attr to slider

Tig 1 년 전
부모
커밋
5ef4b4c015
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;