diff cagou/core/cagou_main.py @ 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 15e47bbb192c
children b6e33b35538b
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Fri Jan 04 13:20:29 2019 +0100
+++ b/cagou/core/cagou_main.py	Sat Jan 26 20:24:48 2019 +0100
@@ -106,7 +106,7 @@
                                       options=list(C.XMLUI_DATA_LVLS))
 
 
-class NoteDrop(Label):
+class NoteDrop(BoxLayout):
     title = properties.StringProperty()
     message = properties.StringProperty()
     level = properties.OptionProperty(C.XMLUI_DATA_LVL_DEFAULT,