GridLayout:
cols: 3
Image:
source: "img/5.jpg"
allow_stretch: False
Image:
source: "img/5.jpg"
allow_stretch: True
Image:
source: "img/5.jpg"
allow_stretch: True
keep_ratio: False
--------------------------
#image.py
from kivy.app import App
from kivy.uix.widget import Widget
class Image(Widget):
pass
class ImageApp(App):
pass
ImageApp().run()
reference:
No comments:
Post a Comment