diff options
| author | ruki <[email protected]> | 2018-01-18 22:35:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-01-18 09:31:31 +0800 |
| commit | afdb22dcfeb898e051ed360fce04152b861aa3ad (patch) | |
| tree | 5a8f56a1a527b86b282a1bb726fe1c497c6ef04e /xmake/core/ui/boxdialog.lua | |
| parent | 921a48f8332381d30c814419bfa05230155d342c (diff) | |
improve bounds for view
Diffstat (limited to 'xmake/core/ui/boxdialog.lua')
| -rw-r--r-- | xmake/core/ui/boxdialog.lua | 1 |
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()) |
