comparison cagou/kv/menu.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 e42e0c45d384
children 1f88e7781fd0
comparison
equal deleted inserted replaced
221:e1a385a791cc 222:a676cb07c1cb
129 id: layout 129 id: layout
130 orientation: "vertical" 130 orientation: "vertical"
131 size_hint: 1, None 131 size_hint: 1, None
132 height: self.minimum_height 132 height: self.minimum_height
133 spacing: dp(5) 133 spacing: dp(5)
134
135
136 <TouchMenu>:
137 creation_direction: -1
138 radius: dp(25)
139 creation_timeout: .4
140 cancel_color: app.c_sec_light[:3] + [0.3]
141 color: app.c_sec
142 line_width: dp(2)
143
144 <ModernMenuLabel>:
145 bg_color: app.c_sec[:3] + [0.9]
146 padding: dp(5), dp(5)
147 radius: dp(100)