comparison cagou/plugins/plugin_wid_chat.kv @ 367:abb57182ebfb

chat: prepend nick to message input when occupant avatar is touched on group chat.
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:08 +0100
parents aa860c10acfc
children e2f806779b53
comparison
equal deleted inserted replaced
366:58e395c0777e 367:abb57182ebfb
56 width: avatar.width 56 width: avatar.width
57 size_hint: None, 1 57 size_hint: None, 1
58 MessAvatar: 58 MessAvatar:
59 id: avatar 59 id: avatar
60 source: (root.mess_data.avatar or '') if root.mess_data else '' 60 source: (root.mess_data.avatar or '') if root.mess_data else ''
61 on_press: root.chat.addNick(root.nick)
61 Widget: 62 Widget:
62 # use to push the avatar on the top 63 # use to push the avatar on the top
63 size_hint: 1, 1 64 size_hint: 1, 1
64 BoxLayout: 65 BoxLayout:
65 size_hint: 1, None 66 size_hint: 1, None