Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix kv path issue and clean up container example
- Loading branch information
dessant
committed
Oct 13, 2015
1 parent
c3f3fbf
commit bf2ffdd
Showing
6 changed files
with
55 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,4 +65,3 @@ def on_resume(self): | |
|
||
if __name__ == '__main__': | ||
CompassApp().run() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
#:kivy 1.8.0 | ||
|
||
RootWidget: | ||
# import container | ||
container: container | ||
# import container | ||
container: container | ||
|
||
BoxLayout: | ||
orientation: 'vertical' | ||
padding: 0 | ||
spacing: 6 | ||
BoxLayout: | ||
orientation: 'vertical' | ||
padding: 0 | ||
spacing: 6 | ||
|
||
# bottom-left part: | ||
BoxLayout: | ||
orientation: 'horizontal' | ||
padding: 0 | ||
spacing: 6 | ||
# bottom-left part: | ||
BoxLayout: | ||
orientation: 'horizontal' | ||
padding: 0 | ||
spacing: 6 | ||
|
||
# bottom-left | ||
BoxLayout: | ||
size_hint: 0.12, 0.12 | ||
orientation: 'vertical' | ||
padding: 0 | ||
spacing: 6 | ||
# bottom-left | ||
BoxLayout: | ||
size_hint: 0.12, 0.12 | ||
orientation: 'vertical' | ||
padding: 0 | ||
spacing: 6 | ||
|
||
# option calibrate | ||
Button: | ||
text: 'Start' | ||
on_release: app.next_screen('1') | ||
# option calibrate | ||
Button: | ||
text: 'Start' | ||
on_release: app.next_screen('1') | ||
|
||
# create container (bottom-right) | ||
BoxLayout: | ||
id: container | ||
# create container (bottom-right) | ||
BoxLayout: | ||
id: container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters