forked from battulasaivinesh/OM_GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.kv
65 lines (58 loc) · 1.83 KB
/
popup.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<CustButton@Button>:
size_hint:None,None
background_normal:''
background_color:(0,0,0,0)
BoxLayout:
id:layout
size_hint_y:None
size: self.parent.size
orientation:'vertical'
padding:4
pos: self.parent.pos
<cPopUp>:
title:"Properties"
size_hint:(0.3, 1)
auto_dismiss:True
pos_hint:{'right': 0.3, 'top': 1}
BoxLayout:
TabbedPanel:
size_hint: 0.3,1
pos_hint: {'top':1}
do_default_tab: False
tab_width: self.parent.width/3
tab_height: 30
TabbedPanelItem:
text: 'Tab1'
BoxLayout:
orientation: 'vertical'
GridLayout:
cols:2
size_hint_y:0.08
Label:
id:name_label
text:'NAME'
size_hint_y:None
height:25
valign:'middle'
font_size:14
TextInput:
id:name
size_hint_y:None
height:25
valign:'middle'
font_size:12
multiline:False
GridLayout:
size_hint_y: 0.8
cols:2
id:first_tab
spacing:10
padding:10,0
Button:
id:submit
size_hint_y:0.1
text:'Submit'
TabbedPanelItem:
text: 'Tab2'
TabbedPanelItem:
text: 'Tab3'