kivy: improve context menu
This commit is contained in:
@@ -19,16 +19,18 @@ Builder.load_string('''
|
|||||||
|
|
||||||
<ContextMenu>
|
<ContextMenu>
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
height: '48dp'
|
height: '60dp'
|
||||||
pos: (0, 0)
|
pos: (0, 0)
|
||||||
show_arrow: False
|
show_arrow: False
|
||||||
arrow_pos: 'top_mid'
|
arrow_pos: 'top_mid'
|
||||||
padding: 0
|
padding: 0
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
|
background_color: (0.1, 0.1, 0.1, 1)
|
||||||
|
background_image: ''
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
size_hint: 1, 1
|
size_hint: 1, 1
|
||||||
height: '48dp'
|
height: '54dp'
|
||||||
padding: '12dp', '0dp'
|
padding: '0dp', '0dp'
|
||||||
spacing: '3dp'
|
spacing: '3dp'
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
id: buttons
|
id: buttons
|
||||||
|
|||||||
Reference in New Issue
Block a user