# HG changeset patch # User Goffi # Date 1523726949 -7200 # Node ID 11d134eb51d7a391ba08fbef8e6e4fb43c56977b # Parent 87eebe4628b8ae69082b7bdb02b2acc20ec1c2da core: fixed icon size hiding when notifs are reset + size adjust diff -r 87eebe4628b8 -r 11d134eb51d7 cagou/kv/root_widget.kv --- a/cagou/kv/root_widget.kv Sat Apr 14 16:36:29 2018 +0200 +++ b/cagou/kv/root_widget.kv Sat Apr 14 19:29:09 2018 +0200 @@ -62,9 +62,11 @@ size_hint: 1, None height: dp(35) IconButton: - source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if root.notes else None + source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_48.png") if root.notes else '' allow_stretch: True - size_hint: None, 1 + size_hint: None, None + pos_hint: {'center_y': .5} + height: dp(25) width: self.norm_image_size[0] on_release: root.notes_drop.open(self) if root.notes else None ScreenManager: @@ -72,9 +74,10 @@ NotifsIcon: id: notifs_icon allow_stretch: True - source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if self.notifs else None - size_hint: None, 1 - width: self.norm_image_size[0] + source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_48.png") if self.notifs else '' + size_hint: None, None + pos_hint: {'center_y': .5} + height: dp(25) : size_hint: 1, None