Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_chat.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 | fdda914a298b |
children | a0835f0212d8 |
comparison
equal
deleted
inserted
replaced
273:0ef216091f2b | 274:7d5297984191 |
---|---|
80 markup: True | 80 markup: True |
81 valign: 'middle' | 81 valign: 'middle' |
82 text: u"[b]{}[/b], {}".format(escape(root.mess_data.nick), root.mess_data.time_text) | 82 text: u"[b]{}[/b], {}".format(escape(root.mess_data.nick), root.mess_data.time_text) |
83 Label: | 83 Label: |
84 id: delivery | 84 id: delivery |
85 color: 0.4, 0.4, 0.4, 1 | 85 color: C.COLOR_BTN_LIGHT |
86 font_size: root.font_size | 86 font_size: root.font_size |
87 text_size: None, None | 87 text_size: None, None |
88 size_hint: None, None | 88 size_hint: None, None |
89 size: self.texture_size | 89 size: self.texture_size |
90 padding: dp(5), 0 | 90 padding: dp(5), 0 |
113 id: messages_widget | 113 id: messages_widget |
114 MessageInputBox: | 114 MessageInputBox: |
115 size_hint: 1, None | 115 size_hint: 1, None |
116 height: dp(40) | 116 height: dp(40) |
117 spacing: dp(10) | 117 spacing: dp(10) |
118 padding: [dp(10), 0, dp(15), dp(10)] | 118 padding: [app.MARGIN_LEFT, 0, app.MARGIN_RIGHT, dp(10)] |
119 message_input: message_input | 119 message_input: message_input |
120 MessageInputWidget: | 120 MessageInputWidget: |
121 id: message_input | 121 id: message_input |
122 size_hint: 1, 1 | 122 size_hint: 1, 1 |
123 hint_text: _(u"Enter your message here") | 123 hint_text: _(u"Enter your message here") |