Mercurial > libervia-desktop-kivy
changeset 215:254481ba2bae
core (common): set width = height by default for Symbol + use a transparent background color by default
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 24 Jun 2018 22:02:30 +0200 |
parents | 6a98d70a3a66 |
children | e42e0c45d384 |
files | cagou/kv/common.kv |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cagou/kv/common.kv Fri May 25 15:54:50 2018 +0200 +++ b/cagou/kv/common.kv Sun Jun 24 22:02:30 2018 +0200 @@ -47,13 +47,14 @@ size: self.size <Symbol>: + width: self.height font_name: app.expand('{media}/fonts/fontello/font/fontello.ttf') text_size: self.size font_size: self.width - self.margin margin: dp(5) halign: 'center' valign: 'middle' - bg_color: 1, 1, 1, 1 + bg_color: 0, 0, 0, 0 canvas.before: Color: rgba: self.bg_color