浏览代码

Fixed Shortcut

Tig 1 年之前
父节点
当前提交
d8bc511226
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Views/Shortcut.cs

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

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