Size: self size source: 'wa png' Color: rgba:(250,250,210 5) BoxLayout: orientation: "vertical" size: root width, root height


Download 21.28 Kb.
Sana20.01.2023
Hajmi21.28 Kb.
#1103523
Bog'liq
KiysozlarWindow



name: "kiysozlar"
canvas.before:
RoundedRectangle:
pos: self.pos
size: self.size
source: 'wal1.png'
Color:
rgba:(250,250,210,0.5)
BoxLayout:
orientation: "vertical"
size: root.width, root.height
GridLayout:
cols:1
Carousel:
direction: "right"
GridLayout:
cols: 1
Image:
source:'atlaskoylak.jpg'
size: self.texture_size
Button:
id: atlaskoylak
font_size: 28
size_hint: .5,.5
pos_hint: {'center_x': 0.5}
background_color: 0,0,0,0
on_press: root.atlaskoylak()
# on_release: root.play_off()
Image:
source:'play.png'
center_x: self.parent.center_x
center_y: self.parent.center_y
GridLayout:
cols: 1
Image:
source: "cho'g'irma.jpeg"
size: self.texture_size
Button:
id: chogirma
font_size: 28
size_hint: .5,.5
pos_hint: {'center_x': 0.5}
background_color: 0,0,0,0
on_press: root.chogirma()
# on_release: root.play_off()
Image:
source:'play.png'
center_x: self.parent.center_x
center_y: self.parent.center_y
RoundedButton:
text: "Ортга қайтиш"
font_size: 28
size_hint: .35,.15
pos_hint: {'center_x': 0.5}
on_release:
app.root.current = "kiyim"
root.manager.transition.direction = "right"

Download 21.28 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling