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
|