Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_chat.kv @ 287:5d96bcd3bfec
chat: added an extra menu (3 dots menu):
first entry is this menu display bookmarks. This menu will be used in the future to show advances actions like showing occupants or configuring room.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Mar 2019 22:22:51 +0100 |
parents | 1b835bcfa663 |
children | 86292cc41e81 |
comparison
equal
deleted
inserted
replaced
286:4772ba26623f | 287:5d96bcd3bfec |
---|---|
140 symbol: "plus-circled" | 140 symbol: "plus-circled" |
141 width: dp(30) | 141 width: dp(30) |
142 font_size: dp(25) | 142 font_size: dp(25) |
143 color: 0.4, 0.4, 0.4, 1 | 143 color: 0.4, 0.4, 0.4, 1 |
144 | 144 |
145 <MenuButton@Button> | |
146 size_hint_y: None | |
147 height: dp(30) | |
148 on_texture_size: self.parent.parent.width = max(self.parent.parent.width, self.texture_size[0] + dp(10)) | |
149 | |
150 <ExtraMenu>: | |
151 size_hint: None, 1 | |
152 width: 10 | |
153 auto_width: False | |
154 MenuButton: | |
155 text: _("Bookmarks") | |
156 on_release: root.select("bookmark") | |
157 | |
158 <ExtraButton>: | |
159 size_hint: None, 1 | |
160 symbol: "dot-3-vert" | |
161 width: dp(30) | |
162 font_size: dp(25) | |
163 color: 0.4, 0.4, 0.4, 1 | |
164 on_release: self.chat.extra_menu.open(self) | |
145 | 165 |
146 <EncryptionMainButton>: | 166 <EncryptionMainButton>: |
147 size_hint: None, 1 | 167 size_hint: None, 1 |
148 width: dp(30) | 168 width: dp(30) |
149 color: self.getColor() | 169 color: self.getColor() |