diff src/cagou/kv/root_widget.kv @ 81:3608fef1857d

core: use norm_image_size for headers'icons
author Goffi <goffi@goffi.org>
date Sat, 24 Dec 2016 14:03:48 +0100
parents 1922506846be
children c2a7234d13d2
line wrap: on
line diff
--- a/src/cagou/kv/root_widget.kv	Sat Dec 24 14:03:44 2016 +0100
+++ b/src/cagou/kv/root_widget.kv	Sat Dec 24 14:03:48 2016 +0100
@@ -56,7 +56,7 @@
         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]
+        width: self.norm_image_size[0]
         on_release: root.notes_drop.open(self) if root.notes else None
     ScreenManager:
         id: manager
@@ -65,5 +65,5 @@
         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]
+        width: self.norm_image_size[0]