From 73790e995278ae622ebc7dd305735234260149f1 Mon Sep 17 00:00:00 2001 From: Richard Horton Date: Fri, 10 Nov 2017 10:47:38 +0000 Subject: [PATCH] Worked on layout --- Client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Client.py b/Client.py index a514232..3075156 100644 --- a/Client.py +++ b/Client.py @@ -66,12 +66,12 @@ chatHistory = tk.Text(window) chatHistory.pack(padx=30) chatHistory.configure(state="disabled") -userInput = tk.Entry(window) +userInput = tk.Entry(window, width=50) userInput.pack(pady=15) userInput.bind("", sendMessage) -sendBtn = tk.Button(window, command=sendMessage) -sendBtn.pack(side="left", pady=15) +sendBtn = tk.Button(window, text="Send Message", command=sendMessage) +sendBtn.pack(side="right", pady=15) receiveMessage(i) #Receives the initial message from the chatbot i = i + 1