Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_file_sharing.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 |
---|---|
43 <PathWidget>: | 43 <PathWidget>: |
44 shared: False | 44 shared: False |
45 Symbol: | 45 Symbol: |
46 size_hint: 1, None | 46 size_hint: 1, None |
47 height: dp(80) | 47 height: dp(80) |
48 font_size: dp(40) | |
48 symbol: 'folder-open-empty' if root.is_dir else 'doc' | 49 symbol: 'folder-open-empty' if root.is_dir else 'doc' |
49 margin: dp(40) | |
50 color: (1, 0, 0, 1) if root.shared else (0, 0, 0, 1) if root.is_dir else app.c_prim_dark | 50 color: (1, 0, 0, 1) if root.shared else (0, 0, 0, 1) if root.is_dir else app.c_prim_dark |
51 Label: | 51 Label: |
52 size_hint: None, None | 52 size_hint: None, None |
53 width: dp(100) | 53 width: dp(100) |
54 font_size: sp(14) | 54 font_size: sp(14) |