Mercurial > libervia-desktop-kivy
diff cagou/kv/menu.kv @ 373:5d994be1161b
core: removed root menus (i.e. global menu on top of window):
root menus were not really useful as most actions doable there are doable through others
widgets in Cagou. For actions without equivalent in widgets (like about screen), a new
menu, more discreet, will be added soon.
Kivy Garden's ContextMenu is not used anymore, so it has been removed from dependencies
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 27 Jan 2020 21:17:09 +0100 |
parents | 1b835bcfa663 |
children | 9ef01266e3fe |
line wrap: on
line diff
--- a/cagou/kv/menu.kv Mon Jan 27 21:17:08 2020 +0100 +++ b/cagou/kv/menu.kv Mon Jan 27 21:17:09 2020 +0100 @@ -31,22 +31,6 @@ # following is needed to fix a bug in contextmenu size_hint: 1, None -<MenusWidget>: - height: 30 - padding: app.MARGIN_LEFT-dp(5), 0, app.MARGIN_RIGHT, 0 - canvas.before: - Color: - rgba: 0.2, 0.2, 0.2, 1.0 - - Rectangle: - pos: self.pos - size: self.size - -<MainMenu>: - cancel_handler_widget: self.parent - -<RootMenuContainer>: - background_color: app.c_sec if self.state == 'down' else (0.2, 0.2, 0.2, 1.0) <TransferMenu>: items_layout: items_layout