Mercurial > libervia-desktop-kivy
comparison cagou/kv/common.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 | ba7b8cb7ddcd |
children | 1b835bcfa663 |
comparison
equal
deleted
inserted
replaced
273:0ef216091f2b | 274:7d5297984191 |
---|---|
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 |
17 | 17 |
18 <JidItem>: | 18 <JidItem>: |
19 size_hint: 1, None | 19 size_hint: 1, None |
20 height: dp(70) | 20 height: dp(68) |
21 avatar: avatar | 21 avatar: avatar |
22 padding: 0, dp(2), 0, dp(2) | |
22 canvas.before: | 23 canvas.before: |
23 Color: | 24 Color: |
24 rgba: self.bg_color | 25 rgba: self.bg_color |
25 Rectangle: | 26 Rectangle: |
26 pos: self.pos | 27 pos: self.pos |