comparison cagou/kv/root_widget.kv @ 274:7d5297984191

core, chat: UI improvments: - better aligment of elements on left and right border, using new app.MARGIN_LEFT and app.MARGIN_RIGHT constants - Better sizing of JidItem, avoiding the avatar to touch the bottom border
author Goffi <goffi@goffi.org>
date Wed, 20 Mar 2019 09:29:44 +0100
parents ff1efdeff53f
children 1b835bcfa663
comparison
equal deleted inserted replaced
273:0ef216091f2b 274:7d5297984191
88 <RootHeadWidget>: 88 <RootHeadWidget>:
89 manager: manager 89 manager: manager
90 notifs_icon: notifs_icon 90 notifs_icon: notifs_icon
91 size_hint: 1, None 91 size_hint: 1, None
92 height: self.HEIGHT 92 height: self.HEIGHT
93 padding: app.MARGIN_LEFT, 0, app.MARGIN_RIGHT, 0
93 IconButton: 94 IconButton:
94 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_48.png") if root.notes else '' 95 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_48.png") if root.notes else ''
95 allow_stretch: True 96 allow_stretch: True
96 size_hint: None, None 97 size_hint: None, None
97 pos_hint: {'center_y': .5} 98 pos_hint: {'center_y': .5}