2010-10-06 12:42:56 +02:00
|
|
|
---------------------------------------------------------------------------
|
2019-11-21 15:43:15 +01:00
|
|
|
--- Collection of layouts that can be used in widget boxes.
|
2014-05-20 13:02:13 +02:00
|
|
|
--
|
2010-10-06 12:42:56 +02:00
|
|
|
-- @author Uli Schlachter
|
|
|
|
-- @copyright 2010 Uli Schlachter
|
2015-02-25 11:18:53 +01:00
|
|
|
-- @classmod wibox.layout
|
2010-10-06 12:42:56 +02:00
|
|
|
---------------------------------------------------------------------------
|
2016-03-19 21:51:20 +01:00
|
|
|
local base = require("wibox.widget.base")
|
2010-10-06 12:42:56 +02:00
|
|
|
|
2016-03-19 21:51:20 +01:00
|
|
|
return setmetatable({
|
2012-06-12 15:29:52 +02:00
|
|
|
fixed = require("wibox.layout.fixed");
|
|
|
|
align = require("wibox.layout.align");
|
|
|
|
flex = require("wibox.layout.flex");
|
|
|
|
rotate = require("wibox.layout.rotate");
|
2016-10-09 07:29:35 +02:00
|
|
|
manual = require("wibox.layout.manual");
|
2012-06-12 15:29:52 +02:00
|
|
|
margin = require("wibox.layout.margin");
|
|
|
|
mirror = require("wibox.layout.mirror");
|
2013-01-05 16:12:52 +01:00
|
|
|
constraint = require("wibox.layout.constraint");
|
2015-11-22 18:19:53 +01:00
|
|
|
scroll = require("wibox.layout.scroll");
|
2016-01-10 08:39:14 +01:00
|
|
|
ratio = require("wibox.layout.ratio");
|
2016-01-16 07:13:07 +01:00
|
|
|
stack = require("wibox.layout.stack");
|
2017-02-10 01:10:01 +01:00
|
|
|
grid = require("wibox.layout.grid");
|
2016-03-19 21:51:20 +01:00
|
|
|
}, {__call = function(_, args) return base.make_widget_declarative(args) end})
|
2010-10-06 12:42:56 +02:00
|
|
|
|
2011-09-11 16:50:01 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|