add command completion to console

This commit is contained in:
Eduardo Bart
2011-11-01 16:32:48 -02:00
parent 59017205b0
commit d2e8e1d774
15 changed files with 96 additions and 20 deletions

View File

@@ -19,7 +19,7 @@ function MessageBox.create(title, text, flags)
label:resizeToText()
-- set window size based on label size
window:setWidth(label:getWidth() + 48)
window:setWidth(math.max(label:getWidth() + 48, 120))
window:setHeight(label:getHeight() + 64)
window:updateParentLayout()