include north symbol on map

This commit is contained in:
rgarcia-herrera 2020-09-03 14:36:08 -05:00
parent 7ac6322a29
commit 253e6861d5
3 changed files with 14 additions and 3 deletions

BIN
assets/screen_compass.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -68,7 +68,7 @@
on_press: root.manager.transition = RiseInTransition(); root.manager.current = 'compass'; app.set_destination()
IconButton:
source: 'assets/to_self.png'
pos_hint: {"x":0.4, "bottom":0.1}
pos_hint: {"x":0.8, "top":0.80}
size_hint: 0.2, 0.2
on_press: app.center_map_on_gps()
IconButton:
@ -76,7 +76,10 @@
size_hint: 0.2, 0.2
source: 'assets/to_settings.png'
on_press: root.manager.transition = SlideTransition(direction='right'); root.manager.current = 'settings'
Image:
pos_hint: {"x":0.05, "bottom":0.1}
size_hint: 0.2, 0.2
source: 'assets/screen_compass.png'
<CompassScreen>:
facade: facade
@ -156,7 +159,7 @@
BackgroundLabel:
text: "Compas smoothing"
background_color: rgba(app.theme['bgcolor'])
color: rgba("#346645")
color: rgba(app.theme['fgcolor'])
font_size: '14sp'
BgSlider:
id: slider_smoothing