This code
Code: Select all
-- flow, just to draw red border in debug view
local testflow = self:get(pind).add{type = "flow", name ="test", direction = "horizontal"}
-- table
local testtb = testflow.add{type = "table", name ="test", column_count = 2}
-- a large label forcing the table row height to 100
local testlb = testtb.add{type = "label", caption = "LABEL"}
testlb.style.height = 100
-- a frame inside the cell next to the label
local testframe = testtb.add{type = "frame", caption = "frame in table"}
testframe.style.vertically_stretchable = false
-- a frame outside the table
testframe = testflow.add{type = "frame", caption = "frame outside of table"}
testframe.style.vertically_stretchable = false
