Posted 22 September 2013 - 02:17 PM
Im just learning Lua. And wondering how I can get label text to wrap to the next line inside of the button instead of trimmed?
pg1:add("The_dmx House", b1_1, 1, 5, 7, 9, colors.red, colors.lime)
pg1:add({" "," ","The_dmx"," House "," ",label = "The_dmx House"}, b1_1, 1, 5, 7, 9, colors.red, colors.lime)
local houseLabel = {
" ",
" ",
"The_dmx",
" House ",
" ",
label = "The_dmx House"
}
pg1:add(houseLabel, b1_1, 1, 5, 7, 9, colors.red, colors.lime)
I'll look at the code real quick and see if it'll be a tremendous pain to change that.