Button.width read/write property
Get or set the Button area width. The width starts from 0 (left side of the Button) and increases to the right direction.
Example
local ui = require "ui"
-- create a simple Window
local win = ui.Window("Button.width sample", 320, 200)
local button = ui.Button(win, "Growing !", 50)
-- shows the Window
win:show()
-- update user interface
repeat
ui.update()
button.width = button.width + 1
until not win.visible or button.width > 260