comparison cagou/plugins/plugin_wid_chat.kv @ 153:e0985834f8eb

chat: replaced transfer button
author Goffi <goffi@goffi.org>
date Fri, 27 Apr 2018 16:37:15 +0200
parents 33498be369ca
children ffef21fd97a2
comparison
equal deleted inserted replaced
152:b9fd83292fc4 153:e0985834f8eb
115 MessageInputWidget: 115 MessageInputWidget:
116 id: message_input 116 id: message_input
117 size_hint: 1, 1 117 size_hint: 1, 1
118 hint_text: _(u"Enter your message here") 118 hint_text: _(u"Enter your message here")
119 on_text_validate: root.onSend(args[0]) 119 on_text_validate: root.onSend(args[0])
120 IconButton 120 SymbolButton
121 # transfer button 121 # transfer button
122 source: app.expand("{media}/icons/tango/actions/32/list-add.png") 122 symbol: "plus-circled"
123 allow_stretch: True
124 size_hint: None, 1 123 size_hint: None, 1
125 width: max(self.texture_size[0], dp(40)) 124 width: dp(30)
126 on_release: TransferMenu(callback=root.onTransferOK).show(self) 125 on_release: TransferMenu(callback=root.onTransferOK).show(self)
127 126
128 <EncryptionButton>: 127 <EncryptionButton>:
129 size_hint: None, 1 128 size_hint: None, 1
130 width: dp(30) 129 width: dp(30)