Fix #35: Error in layout documentation example

This commit is contained in:
vrld 2016-04-12 10:51:40 +02:00
parent cb93f4e48e
commit 83e9131e25

View file

@ -87,9 +87,9 @@ either ``w`` or ``h`` is omitted, the value is set the last used value. Both
Used to provide the last four arguments to a widget, e.g.::
suit.Button("Start Game", suit.layout.row(100,30))
suit.Button("Options", suit.layout.row())
suit.Button("Quit", suit.layout.row(nil, "median"))
suit.Button("Start Game", suit.layout:row(100,30))
suit.Button("Options", suit.layout:row())
suit.Button("Quit", suit.layout:row(nil, "median"))
.. function:: col(w,h)