Mercurial > libervia-desktop-kivy
view src/libs/garden/garden.contextmenu/app_menu.kv @ 83:741a7d6d8c28
garden: added contextmenu
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Dec 2016 14:16:58 +0100 |
parents | |
children | 2caee196d19a |
line wrap: on
line source
<AppMenu>: height: 30 size_hint: 1, None canvas.before: Color: rgb: 0.2, 0.2, 0.2 Rectangle: pos: self.pos size: self.size <AppMenuTextItem>: disabled: True size_hint: None, None on_children: self._check_submenu() background_normal: "" background_down: "" background_color: (0.2, 0.71, 0.9, 1.0) if self.state == 'down' else (0.2, 0.2, 0.2, 1.0) background_disabled_normal: "" background_disabled_down: "" border: (0, 0, 0, 0) size: self.texture_size[0], 30 padding_x: 10