-
Notifications
You must be signed in to change notification settings - Fork 4
/
select_notary_file.kv
41 lines (40 loc) · 1.34 KB
/
select_notary_file.kv
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
#:import getpass getpass
<SelectNotaryFileScreen>:
BoxLayout:
orientation: 'vertical'
ActionBar:
pos_hint: {'x': .0, 'y': .9}
ActionView:
use_separator: True
ActionPrevious:
app_icon:'img/logo.png'
title: ' Select File'
with_previous: False
ActionOverflow:
ActionButton:
icon:'img/prev.png'
on_press: root.manager.current = 'landingpage'
ActionButton:
icon:'img/next.png'
text: 'Next'
on_press: root.next_callback()
Label:
text: "Please select a file to upload below:"
id: filelabel
pos_hint: {'x': .0, 'y': .0}
size_hint: .45, .1
halign: 'left'
font_size: '20sp'
FileChooserIconView:
id: filechooser
show_hidden: True
on_selection: root.my_callback(filechooser.selection)
size: .9, .6
rootpath: str('/Users/' + getpass.getuser() + '/Downloads')
Label:
text: ""
id: filelabel
pos_hint: {'x': .0, 'y': .0}
size_hint: .1, .1
halign: 'left'
font_size: '20sp'