Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_file_sharing.kv @ 222:a676cb07c1cb
core (menu): TouchMenuBehaviour:
moved code showing ModernMenu on item from file sharing plugin to a generic behaviour, so it can be re-used elsewhere.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 26 Jun 2018 20:26:21 +0200 |
parents | 890b48e41998 |
children | 059c5b39032d |
comparison
equal
deleted
inserted
replaced
221:e1a385a791cc | 222:a676cb07c1cb |
---|---|
64 text: root.name | 64 text: root.name |
65 halign: 'center' | 65 halign: 'center' |
66 | 66 |
67 | 67 |
68 <LocalPathWidget>: | 68 <LocalPathWidget>: |
69 shared: root.filepath in root.sharing_wid.shared_paths | 69 shared: root.filepath in root.main_wid.shared_paths |
70 | 70 |
71 | 71 |
72 <DeviceWidget>: | 72 <DeviceWidget>: |
73 Symbol: | 73 Symbol: |
74 size_hint: 1, None | 74 size_hint: 1, None |
87 | 87 |
88 | 88 |
89 <CategorySeparator>: | 89 <CategorySeparator>: |
90 size_hint: 1, None | 90 size_hint: 1, None |
91 height: sp(20) | 91 height: sp(20) |
92 | |
93 | |
94 <Menu>: | |
95 creation_direction: -1 | |
96 radius: dp(25) | |
97 creation_timeout: .4 | |
98 cancel_color: app.c_sec_light[:3] + [0.3] | |
99 color: app.c_sec | |
100 line_width: dp(2) | |
101 | |
102 <ModernMenuLabel>: | |
103 bg_color: app.c_sec[:3] + [0.9] | |
104 padding: dp(5), dp(5) | |
105 radius: dp(100) |