Mercurial > libervia-desktop-kivy
diff src/cagou/kv/root_widget.kv @ 62:1922506846be
design fixes:
- adjust sizes using sp/dp so it adapts on different screen resolutions
- use a shorter sentence for profile manager label, so it appears better on small screens
- various design adjustment to appear correclty on different screen size
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 04 Dec 2016 21:34:30 +0100 |
parents | bd3ecac18870 |
children | 3608fef1857d |
line wrap: on
line diff
--- a/src/cagou/kv/root_widget.kv Sun Dec 04 18:21:23 2016 +0100 +++ b/src/cagou/kv/root_widget.kv Sun Dec 04 21:34:30 2016 +0100 @@ -54,6 +54,7 @@ height: dp(35) IconButton: source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if root.notes else app.expand("{media}/misc/black.png") + allow_stretch: True size_hint: None, 1 width: self.texture_size[0] on_release: root.notes_drop.open(self) if root.notes else None @@ -61,6 +62,7 @@ id: manager NotifsIcon: id: notifs_icon + allow_stretch: True source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if self.notifs else app.expand("{media}/misc/black.png") size_hint: None, 1 width: self.texture_size[0]