-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBookCards.kv
More file actions
44 lines (31 loc) · 1.43 KB
/
Copy pathBookCards.kv
File metadata and controls
44 lines (31 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<BookCards>:
size_hint_y: None
height: '200dp'
elevation: 0
# ripple_behavior: True
radius: ['25dp',]
# radius: [20,20,20,20]
spacing: '30dp'
on_press: app.play()
on_release: app.switch_details(root.image, root.tot, root.price, root.country, root.province, root.town, root.street, root.bedrooms, root.bathrooms, root.landspace, root.email, root.phonenumber, root.twitter, root.facebook, root.description, root.key, root.amenities, root.link, root.me, root.checkin, root.checkout)
on_release:
app.call_guy(root.key, root.price)
app.check_in_bk(root.key)
# padding: ['10dp']
id: ma
FitImage:
source: str(root.image)
mipmap: True
radius: ma.radius
keep_ratio: False
allow_stretch: True
size_hint_x: None
width: '160dp'
pos_hint: {'center_y': 0.5}
MDLabel:
# text: 'Apartment \n \nNetherlands Overjissel Zwolle Zwolle city \n \n3 rooms - 3 baths - 345sq.ft \n \n$300000'
text: f"[color=#000000][b][size=16dp]{root.tot}[/size][/b][/color] \n \n[b]{root.country}[/b] {root.province} {root.town} {root.street} \n \n{root.bedrooms} rooms {root.bathrooms} baths {root.landspace} \n \n[color=#000000][b]{root.price}[/b][/color]"
markup: True
pos_hint: {'center_y': 0.5}
color: 'gray'
font_size: '14dp'