Mercurial > libervia-desktop-kivy
diff cagou/kv/common.kv @ 247:cf61a011f731
core (notes), common (symbol): added an icon showing note level:
because of Symbol binding, it was difficult to precisely set the icon position, so Symbol has been modified to remove bindings.
Added consts for INFO, WARNING and ERROR colors.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Jan 2019 20:24:48 +0100 |
parents | 30be583dbabc |
children | ba7b8cb7ddcd |
line wrap: on
line diff
--- a/cagou/kv/common.kv Fri Jan 04 13:20:29 2019 +0100 +++ b/cagou/kv/common.kv Sat Jan 26 20:24:48 2019 +0100 @@ -47,11 +47,11 @@ size: self.size <Symbol>: - width: self.height + width: dp(35) + height: dp(35) font_name: app.expand('{media}/fonts/fontello/font/fontello.ttf') text_size: self.size - font_size: self.width - self.margin - margin: dp(5) + font_size: dp(30) halign: 'center' valign: 'middle' bg_color: 0, 0, 0, 0 @@ -85,4 +85,3 @@ <ActionSymbol>: bg_color: 0, 0, 0, 0 color: app.c_sec_light - margin: dp(10)