doc: Add a `rotate` default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-24 12:51:08 -04:00
parent e57ae1789d
commit ab0a9a077e
2 changed files with 20 additions and 0 deletions

View File

@ -1,6 +1,7 @@
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
-- A container rotating the conained widget by 90 degrees. -- A container rotating the conained widget by 90 degrees.
-- --
--@DOC_wibox_container_defaults_rotate_EXAMPLE@
-- @author Uli Schlachter -- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter -- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@ -- @release @AWESOME_VERSION@

View File

@ -0,0 +1,19 @@
--DOC_HIDE_ALL
local wibox = require("wibox")
return {
text = "Before",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
{
{
text = "After",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
direction = "east",
widget = wibox.container.rotate
}