better size in compass screen
This commit is contained in:
parent
2b317fefa3
commit
81f613f4fc
@ -38,9 +38,21 @@
|
||||
spacing: '10dp'
|
||||
BoxLayout:
|
||||
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:
|
||||
orientation: 'horizontal'
|
||||
size_hint: 1, .1
|
||||
size_hint_y: 0.07
|
||||
Button:
|
||||
id: enable_button
|
||||
text: 'Enable Sensor'
|
||||
@ -58,16 +70,8 @@
|
||||
disable_button.disabled = not disable_button.disabled
|
||||
enable_button.disabled = not enable_button.disabled
|
||||
|
||||
Label:
|
||||
text: root.gps_location
|
||||
|
||||
Label:
|
||||
text: root.gps_status
|
||||
|
||||
BoxLayout:
|
||||
size_hint_y: None
|
||||
height: '48dp'
|
||||
padding: '4dp'
|
||||
Label:
|
||||
text: root.gps_location
|
||||
|
||||
ToggleButton:
|
||||
text: 'Start' if self.state == 'normal' else 'Stop'
|
||||
@ -81,7 +85,7 @@
|
||||
|
||||
canvas:
|
||||
Color:
|
||||
rgb: .98, .98, .98
|
||||
rgb: .08, .08, .08
|
||||
Rectangle:
|
||||
size: self.size
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user