This repository was archived by the owner on Feb 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblocknewproject.kv~Stashed changes
More file actions
49 lines (43 loc) · 1.75 KB
/
blocknewproject.kv~Stashed changes
File metadata and controls
49 lines (43 loc) · 1.75 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
45
46
47
48
49
#:kivy 1.11.1
#:import NoTransition kivy.uix.screenmanager.NoTransition
<BlockNewProjectScreen>:
FloatLayout:
BoxLayout:
BoxLayout:
orientation: "horizontal"
height: 30
BoxLayout:
orientation: "horizontal"
size_hint_x: .25
TabbedPanel:
id: panel
default_tab: lolDoesntMatter
background_color: 1,1,1,1
TabbedPanelItem:
text: "Drag&drop"
id: DD_tab
on_press:
Label:
text: "Content of First Panel"
TabbedPanelItem:
text: "text"
id: lolDoesntMatter
on_release:
root.manager.transition = NoTransition(duration=0)
root.manager.current = "TextNewProject"
panel.switch_to(panel.tab_list[1], True)
BoxLayout:
orientation: "horizontal"
BoxLayout:
orientation: "horizontal"
TabbedPanel:
do_default_tab: False
TabbedPanelItem:
text: 'Blocks'
Button:
text: 'add block'
on_release: root.createNew()
TabbedPanelItem:
text: 'Lemmas'
Button:
text: 'import lemma'