2018-07-24 14:12:44 +02:00
|
|
|
--DOC_GEN_IMAGE
|
2017-02-10 01:10:12 +01:00
|
|
|
local _, generic_before_after = ... --DOC_HIDE_ALL
|
|
|
|
local wibox = require("wibox") --DOC_HIDE
|
|
|
|
|
|
|
|
print("l:insert_column(2)") --DOC_HIDE
|
|
|
|
|
|
|
|
local w = generic_before_after(wibox.layout.grid, {
|
|
|
|
forced_num_cols = 3,
|
|
|
|
forced_num_rows = 2,
|
|
|
|
homogeneous = true,
|
|
|
|
}
|
|
|
|
, 6, "insert_column", {2}) --DOC_HIDE
|
|
|
|
return w, w:fit({dpi=96}, 9999, 9999) --DOC_HIDE
|