comparison cagou/kv/common.kv @ 391:841045d5a937

common: when possible, a more user friendly name is displayed for the contact, instead of the jid.
author Goffi <goffi@goffi.org>
date Thu, 06 Feb 2020 21:16:21 +0100
parents 38fd457b2158
children 54f6a47cc60a
comparison
equal deleted inserted replaced
390:3d009fec34da 391:841045d5a937
29 Label: 29 Label:
30 id: jid_label 30 id: jid_label
31 size_hint: None, None 31 size_hint: None, None
32 text_size: root.base_width, None 32 text_size: root.base_width, None
33 size: self.texture_size 33 size: self.texture_size
34 text: root.jid 34 text: root.data.get('nick', root.jid.node or root.jid)
35 bold: True 35 bold: True
36 valign: 'middle' 36 valign: 'middle'
37 halign: 'center' 37 halign: 'center'
38 38
39 39