2018-07-24 14:12:44 +02:00
|
|
|
--DOC_GEN_IMAGE --DOC_HIDE
|
2016-05-25 21:23:51 +02:00
|
|
|
local generic_widget = ... --DOC_HIDE
|
|
|
|
local wibox = require("wibox") --DOC_HIDE
|
|
|
|
|
|
|
|
local w = wibox.widget {
|
|
|
|
generic_widget( "first" ),
|
|
|
|
generic_widget( "second" ),
|
|
|
|
generic_widget( "third" ),
|
|
|
|
layout = wibox.layout.ratio.horizontal
|
|
|
|
}
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-05-25 21:23:51 +02:00
|
|
|
w:ajust_ratio(2, 0.44, 0.33, 0.22)
|
|
|
|
|
|
|
|
return w --DOC_HIDE
|
2016-12-31 13:59:38 +01:00
|
|
|
|
|
|
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|