diff cagou/kv/root_widget.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 bf9474e164f3
children 3c9ba4a694ef
line wrap: on
line diff
--- a/cagou/kv/root_widget.kv	Mon Jan 27 21:17:08 2020 +0100
+++ b/cagou/kv/root_widget.kv	Mon Jan 27 21:17:09 2020 +0100
@@ -121,21 +121,8 @@
         symbol: "plug"
         color: 0.80, 0.0, 0.0, 1
 
-<RootMenus>:
-    size_hint: 1, None
-    pos_hint: {'top': 1}
-
 <CagouRootWidget>:
     root_body: root_body
-    root_menus: root_menus
-    # main body
     RootBody:
         id: root_body
         orientation: "vertical"
-        size_hint: 1, None
-        height: root.height - root_menus.height
-    # general menus
-    # need to be added at the end so it's drawed above other widgets
-    RootMenus:
-        id: root_menus
-        height: self.HEIGHT