mirror of https://github.com/kivy/kivy.git
doc: examples made pep8
This commit is contained in:
parent
7f87a5bf5b
commit
4bf14ac497
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue