better size in compass screen
This commit is contained in:
parent
2b317fefa3
commit
81f613f4fc
@ -38,9 +38,21 @@
|
|||||||
spacing: '10dp'
|
spacing: '10dp'
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
|
ActionBar:
|
||||||
|
pos_hint: {'top':1}
|
||||||
|
ActionView:
|
||||||
|
use_separator: True
|
||||||
|
ActionPrevious:
|
||||||
|
title: 'Social Cycling'
|
||||||
|
with_previous: False
|
||||||
|
ActionButton:
|
||||||
|
important: True
|
||||||
|
text: 'set destination'
|
||||||
|
on_press: root.manager.current = 'map'
|
||||||
|
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
size_hint: 1, .1
|
size_hint_y: 0.07
|
||||||
Button:
|
Button:
|
||||||
id: enable_button
|
id: enable_button
|
||||||
text: 'Enable Sensor'
|
text: 'Enable Sensor'
|
||||||
@ -61,14 +73,6 @@
|
|||||||
Label:
|
Label:
|
||||||
text: root.gps_location
|
text: root.gps_location
|
||||||
|
|
||||||
Label:
|
|
||||||
text: root.gps_status
|
|
||||||
|
|
||||||
BoxLayout:
|
|
||||||
size_hint_y: None
|
|
||||||
height: '48dp'
|
|
||||||
padding: '4dp'
|
|
||||||
|
|
||||||
ToggleButton:
|
ToggleButton:
|
||||||
text: 'Start' if self.state == 'normal' else 'Stop'
|
text: 'Start' if self.state == 'normal' else 'Stop'
|
||||||
on_state:
|
on_state:
|
||||||
@ -81,7 +85,7 @@
|
|||||||
|
|
||||||
canvas:
|
canvas:
|
||||||
Color:
|
Color:
|
||||||
rgb: .98, .98, .98
|
rgb: .08, .08, .08
|
||||||
Rectangle:
|
Rectangle:
|
||||||
size: self.size
|
size: self.size
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user