diff cagou/kv/menu.kv @ 216:e42e0c45d384

core (menu): allow to specify size in SideMenu: size menu now use 4 variable to open and close state: - size_hint_close - size_hint_open - size_open - size_close if one value of size_hint_open or size_hint_close tuples is None, the corresponding size is used instead.
author Goffi <goffi@goffi.org>
date Sun, 24 Jun 2018 22:08:16 +0200
parents c7d15ef4bfa8
children a676cb07c1cb
line wrap: on
line diff
--- a/cagou/kv/menu.kv	Sun Jun 24 22:02:30 2018 +0200
+++ b/cagou/kv/menu.kv	Sun Jun 24 22:08:16 2018 +0200
@@ -95,7 +95,7 @@
 
 <SideMenu>:
     orientation: "vertical"
-    size_hint: self.base_size_hint_close
+    size_hint: self.size_hint_close
     canvas.before:
         Color:
             rgba: self.bg_color