summaryrefslogtreecommitdiff
path: root/xmake/core/ui/boxdialog.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/ui/boxdialog.lua')
-rw-r--r--xmake/core/ui/boxdialog.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/ui/boxdialog.lua b/xmake/core/ui/boxdialog.lua
index 7174da28a..be9282ca3 100644
--- a/xmake/core/ui/boxdialog.lua
+++ b/xmake/core/ui/boxdialog.lua
@@ -43,6 +43,7 @@ function boxdialog:init(name, bounds, title)
-- resize text
self:text():bounds().ey = 3
+ self:text():invalidate(true)
-- select buttons by default
self:panel():select(self:buttons())