New Features

- Bimg images are now stretchable
- Label autosize automatically calculates the height
- added onRelease event
This commit is contained in:
Robert Jelic
2022-09-30 23:38:28 +02:00
parent de4997dd87
commit 7653257a7f
7 changed files with 231 additions and 15 deletions

View File

@@ -101,6 +101,16 @@ return function()
w, h = _w, _h
end,
setBimgData = function(data)
w, h = 0, 0
for k,v in pairs(data[1])do
t[k], fg[k], bg[k] = v[1], v[2], v[3]
if(#v[1] > w)then w = #v[1] end
end
h = #data[1]
recalculateSize()
end,
getBimgData = function()
local data = {}
for k,v in pairs(t)do