Mercurial > libervia-desktop-kivy
diff cagou/kv/cagou_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 | a676cb07c1cb |
children | 1b835bcfa663 |
line wrap: on
line diff
--- a/cagou/kv/cagou_widget.kv Wed Mar 20 09:29:44 2019 +0100 +++ b/cagou/kv/cagou_widget.kv Wed Mar 20 09:29:44 2019 +0100 @@ -14,6 +14,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +#:import C cagou.core.constants.Const + <HeaderWidgetChoice>: canvas.before: @@ -59,6 +61,7 @@ size_hint: 1, None height: dp(32) spacing: dp(3) + padding: app.MARGIN_LEFT, 0, app.MARGIN_RIGHT, 0 HeaderWidgetCurrent: plugin_info: root.plugin_info size_hint: None, 1