# HG changeset patch # User Goffi # Date 1582468746 -3600 # Node ID 5761b5f03c0ce99f9a6f98f2245ceb3231dab1b3 # Parent 72a6b06728abf8d9a75ef1705f097bd92fa88e34 menu: TransferMenu UI improvment diff -r 72a6b06728ab -r 5761b5f03c0c cagou/core/menu.py --- a/cagou/core/menu.py Sun Feb 23 15:39:06 2020 +0100 +++ b/cagou/core/menu.py Sun Feb 23 15:39:06 2020 +0100 @@ -214,6 +214,7 @@ items_layout = properties.ObjectProperty() size_hint_close = (1, 0) size_hint_open = (1, 0.5) + bg_color = properties.ListProperty([1, 1, 1, 1]) def __init__(self, **kwargs): super(TransferMenu, self).__init__(**kwargs) diff -r 72a6b06728ab -r 5761b5f03c0c cagou/kv/menu.kv --- a/cagou/kv/menu.kv Sun Feb 23 15:39:06 2020 +0100 +++ b/cagou/kv/menu.kv Sun Feb 23 15:39:06 2020 +0100 @@ -62,7 +62,6 @@ text: _(u"send") group: "transfer" Label: - color: 1, 1, 1, 1 size_hint: 1, 0.3 text: root.transfer_txt if upload_btn.state == 'down' else root.send_txt text_size: self.size @@ -86,7 +85,7 @@ size_hint: 1, None height: dp(50) Label: - color: 1, 1, 1, 1 + color: 0, 0, 0, 1 text: root.plug_info['name'] text_size: self.size halign: "center"