Mercurial > libervia-desktop-kivy
comparison cagou/kv/menu.kv @ 166:37220459e93d
core: hide/show menu on M-m + disable menu on Android
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 28 Apr 2018 15:40:28 +0200 |
parents | 36fc269e2a32 |
children | 397f2fb67aab |
comparison
equal
deleted
inserted
replaced
165:e6ec8ff62d87 | 166:37220459e93d |
---|---|
29 <MenuItem>: | 29 <MenuItem>: |
30 # following is need to fix a bug in contextmenu | 30 # following is need to fix a bug in contextmenu |
31 size_hint: 1, None | 31 size_hint: 1, None |
32 | 32 |
33 <MenusWidget>: | 33 <MenusWidget>: |
34 height: self.children[0].height if self.children else 30 | 34 height: 30 |
35 | 35 |
36 <MainMenu>: | 36 <MainMenu>: |
37 cancel_handler_widget: self.parent | 37 cancel_handler_widget: self.parent |
38 | 38 |
39 <TransferMenu>: | 39 <TransferMenu>: |