-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelpview.kv
More file actions
43 lines (42 loc) · 1.22 KB
/
helpview.kv
File metadata and controls
43 lines (42 loc) · 1.22 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
#:import Factory kivy.factory.Factory
<HelpView>:
ActionBar:
width:root.width
height:30
size_hint:1,None
pos:0,root.height-self.height
ActionView:
size_hint:1,None
height:30
use_seperator:True
ActionPrevious:
# Hide the default kivy icon in the action bar
with_previous:False
size_hint_x:None
width:0
app_icon_width:1
app_icon_height:0
CustomActionBtn:
background_normal:""
background_down:""
text:"Close"
font_size:"14px"
color:1,1,1,1
background_color:34/255,34/255,34/255,1
on_press:app.stop()
ScrollView:
effect_cls:Factory.get("ScrollEffect")
width:root.width
height:root.height-30
pos:0,0
Label:
text:root.help_text
color:0,0,0,1
size_hint_x:1
size_hint_y:None
height:root.height
text_size:root.width,None
height:self.texture_size[1]
markup:True
valign:"top"
padding:5,5