doc: examples made pep8

This commit is contained in:
Zen-CODE 2014-05-24 16:03:03 +02:00
parent 7f87a5bf5b
commit 4bf14ac497
1 changed files with 7 additions and 3 deletions

View File

@ -603,6 +603,7 @@ Then, when we put this snippet into a Kivy app::
class RootWidget(FloatLayout):
pass
class MainApp(App):
def build(self):
@ -667,16 +668,19 @@ We use this to display an animated background::
halign: 'justify'
''')
class CustomLayout(GridLayout):
background_image = ObjectProperty(
Image(
source='../examples/widgets/sequenced_images/data/images/button_white_animated.zip',
anim_delay=.1))
Image(
source='../examples/widgets/sequenced_images/data/images/button_white_animated.zip',
anim_delay=.1))
class RootWidget(FloatLayout):
pass
class MainApp(App):
def build(self):