Skip to content

Commit

Permalink
Reorganized some code in tutorial 5
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffHoogland committed Jul 1, 2015
1 parent ecad3e9 commit fe837c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tut5-naviframe/ex7-naviframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ def __init__(self):
ourLabel.text = "Hey look some text!"
ourLabel.show()

self.nf = Naviframe(self, size_hint_weight=EXPAND_BOTH,
size_hint_align=FILL_BOTH)
self.nf = Naviframe(self)
self.nf.size_hint_weight = EXPAND_BOTH
self.nf.size_hint_align = FILL_BOTH
self.nf.show()

buttonOne = Button(self)
Expand Down

0 comments on commit fe837c8

Please sign in to comment.