awesome/tests/examples/wibox/layout/stack/offset.lua

17 lines
451 B
Lua
Raw Normal View History

--DOC_GEN_IMAGE --DOC_HIDE
2017-06-12 08:48:34 +02:00
local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
return --DOC_HIDE
wibox.widget {
generic_widget( "first" ),
generic_widget( "second" ),
generic_widget( "third" ),
horizontal_offset = 5,
vertical_offset = 5,
layout = wibox.layout.stack
}
, 200, 50 --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80