summaryrefslogtreecommitdiff
path: root/xmake/core/ui
diff options
context:
space:
mode:
authorruki <[email protected]>2018-02-02 23:40:58 +0800
committerruki <[email protected]>2018-02-02 16:05:49 +0800
commit45a545b3772bebd9843d991b0223c4e103b036b4 (patch)
tree1a7e90b4d7cc1b0b9f5edd30d6464d570ef9182f /xmake/core/ui
parent7338d6b1e13648f3175555b1f1c4c69301f5bbd0 (diff)
load previous config in menuconf
Diffstat (limited to 'xmake/core/ui')
-rw-r--r--xmake/core/ui/mconfdialog.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/mconfdialog.lua b/xmake/core/ui/mconfdialog.lua
index 41e2947a9..635d8494f 100644
--- a/xmake/core/ui/mconfdialog.lua
+++ b/xmake/core/ui/mconfdialog.lua
@@ -151,7 +151,7 @@ end
-- get choice dialog
function mconfdialog:choicedialog()
if not self._CHOICEDIALOG then
- local dialog_choice = choicedialog:new("mconfdialog.choice", rect {0, 0, math.min(80, self:width()), math.min(16, self:height())}, "input dialog")
+ local dialog_choice = choicedialog:new("mconfdialog.choice", rect {0, 0, math.min(80, self:width()), math.min(20, self:height())}, "input dialog")
dialog_choice:background_set(self:frame():background())
dialog_choice:frame():background_set("cyan")
dialog_choice:box():frame():background_set("cyan")