changeset 252:fdda914a298b

chat: added some padding in MessageInputBox
author Goffi <goffi@goffi.org>
date Sat, 26 Jan 2019 20:24:48 +0100
parents 1f579baf787a
children 112ba3295f8f
files cagou/plugins/plugin_wid_chat.kv
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.kv	Sat Jan 26 20:24:48 2019 +0100
+++ b/cagou/plugins/plugin_wid_chat.kv	Sat Jan 26 20:24:48 2019 +0100
@@ -105,7 +105,6 @@
 <Chat>:
     messages_widget: messages_widget
     ScrollView:
-        size_hint: 1, 0.8
         scroll_y: 0
         do_scroll_x: False
         scroll_type: ['bars', 'content']
@@ -115,6 +114,8 @@
     MessageInputBox:
         size_hint: 1, None
         height: dp(40)
+        spacing: dp(10)
+        padding: [dp(10), 0, dp(15), dp(10)]
         message_input: message_input
         MessageInputWidget:
             id: message_input
@@ -123,9 +124,11 @@
             on_text_validate: root.onSend(args[0])
         SymbolButton
             # transfer button
+            size_hint: 1, None
             symbol: "plus-circled"
             size_hint: None, 1
             width: dp(30)
+            font_size: dp(25)
             on_release: TransferMenu(callback=root.onTransferOK).show(self)
 
 <EncryptionMainButton>: