Skip to content

Commit

Permalink
Merge pull request #19 from bearnun/patch-1
Browse files Browse the repository at this point in the history
Update tutorial-1.rst
  • Loading branch information
freakboy3742 committed Oct 9, 2016
2 parents 1296065 + 187d311 commit b62836f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/tutorial-1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ found at <https://toga.readthedocs.io/en/latest/tutorial/tutorial-0.html>:
def build(app):
container = toga.Container()
box = toga.Box()
button = toga.Button('Hello world', on_press=button_handler)
button.style.set(margin=50)
container.add(button)
box.add(button)
return container
return box
if __name__ == '__main__':
Expand Down

0 comments on commit b62836f

Please sign in to comment.