I have tried to implement it with the following code:
Code: Select all
local myFrame = myGui.add{
type = "frame",
style = "inside_shallow_frame",
}.add{
type = "table",
style = "bordered_table",
column_count = 3,
}
myFrame.style.column_alignments[3] = "right" --this works
myFrame.style.column_widths[3] = 200 --this throws error: LuaStyle doesn't contain key column_widths.
What am I doing wrong?