Mercurial > libervia-desktop-kivy
comparison 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 |
comparison
equal
deleted
inserted
replaced
80:370f00711640 | 81:3608fef1857d |
---|---|
54 height: dp(35) | 54 height: dp(35) |
55 IconButton: | 55 IconButton: |
56 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if root.notes else app.expand("{media}/misc/black.png") | 56 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if root.notes else app.expand("{media}/misc/black.png") |
57 allow_stretch: True | 57 allow_stretch: True |
58 size_hint: None, 1 | 58 size_hint: None, 1 |
59 width: self.texture_size[0] | 59 width: self.norm_image_size[0] |
60 on_release: root.notes_drop.open(self) if root.notes else None | 60 on_release: root.notes_drop.open(self) if root.notes else None |
61 ScreenManager: | 61 ScreenManager: |
62 id: manager | 62 id: manager |
63 NotifsIcon: | 63 NotifsIcon: |
64 id: notifs_icon | 64 id: notifs_icon |
65 allow_stretch: True | 65 allow_stretch: True |
66 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if self.notifs else app.expand("{media}/misc/black.png") | 66 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if self.notifs else app.expand("{media}/misc/black.png") |
67 size_hint: None, 1 | 67 size_hint: None, 1 |
68 width: self.texture_size[0] | 68 width: self.norm_image_size[0] |
69 | 69 |