Mercurial > libervia-desktop-kivy
changeset 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 | 370f00711640 |
children | 4c6d56c069d9 |
files | src/cagou/kv/root_widget.kv |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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]