Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_chat.kv @ 393:e2f806779b53
chat: added a "close" item in menu, to leave MUC/close current chat widget.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Feb 2020 21:16:21 +0100 |
parents | abb57182ebfb |
children | d15828ca9d86 |
comparison
equal
deleted
inserted
replaced
392:d7948d2c1cc6 | 393:e2f806779b53 |
---|---|
163 on_texture_size: self.parent.parent.width = max(self.parent.parent.width, self.texture_size[0] + dp(10)) | 163 on_texture_size: self.parent.parent.width = max(self.parent.parent.width, self.texture_size[0] + dp(10)) |
164 | 164 |
165 <ExtraMenu>: | 165 <ExtraMenu>: |
166 auto_width: False | 166 auto_width: False |
167 MenuButton: | 167 MenuButton: |
168 text: _("Bookmarks") | 168 text: _("bookmarks") |
169 on_release: root.select("bookmark") | 169 on_release: root.select("bookmark") |
170 MenuButton: | |
171 text: _("close") | |
172 on_release: root.select("close") | |
170 | 173 |
171 <ExtraButton>: | 174 <ExtraButton>: |
172 size_hint: None, 1 | 175 size_hint: None, 1 |
173 symbol: "dot-3-vert" | 176 symbol: "dot-3-vert" |
174 width: dp(30) | 177 width: dp(30) |