diff --git a/lib/wibox/layout/fixed.lua b/lib/wibox/layout/fixed.lua index ed3758eb1..57728b586 100644 --- a/lib/wibox/layout/fixed.lua +++ b/lib/wibox/layout/fixed.lua @@ -1,4 +1,6 @@ --------------------------------------------------------------------------- +-- +--@DOC_wibox_layout_defaults_fixed_EXAMPLE@ -- @author Uli Schlachter -- @copyright 2010 Uli Schlachter -- @release @AWESOME_VERSION@ diff --git a/tests/examples/wibox/layout/defaults/fixed.lua b/tests/examples/wibox/layout/defaults/fixed.lua new file mode 100644 index 000000000..0b6f1f825 --- /dev/null +++ b/tests/examples/wibox/layout/defaults/fixed.lua @@ -0,0 +1,10 @@ +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" ), + layout = wibox.layout.fixed.horizontal +}