瀏覽代碼

Fixed merged issue

Tig 1 年之前
父節點
當前提交
af9887bc9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Views/Shortcut.cs

+ 1 - 1
Terminal.Gui/Views/Shortcut.cs

@@ -74,7 +74,7 @@ public class Shortcut : View, IOrientation, IDesignable
         CommandView = new ()
         {
             Width = Dim.Auto (),
-            Height = Dim.Auto (1)
+            Height = Dim.Auto (DimAutoStyle.Auto, minimumContentDim: 1)
         };
 
         HelpView.Id = "_helpView";