comparison cagou/kv/common_widgets.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 059c5b39032d
children 1b835bcfa663
comparison
equal deleted inserted replaced
246:15e47bbb192c 247:cf61a011f731
24 24
25 <DeviceWidget>: 25 <DeviceWidget>:
26 Symbol: 26 Symbol:
27 size_hint: 1, None 27 size_hint: 1, None
28 height: dp(80) 28 height: dp(80)
29 font_size: dp(40)
29 symbol: root.getSymbol() 30 symbol: root.getSymbol()
30 margin: dp(40)
31 color: 0, 0, 0, 1 31 color: 0, 0, 0, 1
32 Label: 32 Label:
33 size_hint: None, None 33 size_hint: None, None
34 width: dp(100) 34 width: dp(100)
35 font_size: sp(14) 35 font_size: sp(14)