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/dialog.lua | |
| parent | 921a48f8332381d30c814419bfa05230155d342c (diff) | |
improve bounds for view
Diffstat (limited to 'xmake/core/ui/dialog.lua')
| -rw-r--r-- | xmake/core/ui/dialog.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/ui/dialog.lua b/xmake/core/ui/dialog.lua index 57d94b64b..b6a138e20 100644 --- a/xmake/core/ui/dialog.lua +++ b/xmake/core/ui/dialog.lua @@ -77,6 +77,7 @@ function dialog:button_add(name, text, command) x = math.max(0, width - v:width()) end v:bounds():move2(x, 0) + v:invalidate(true) index = index + 1 end |
