From 3b9ea13616bd274c42cb77c18e26d76abc9d9eab Mon Sep 17 00:00:00 2001 From: jakeallen Date: Tue, 26 Mar 2024 17:58:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=80=E4=B8=8B?= =?UTF-8?q?=E6=A1=86=E7=9A=84=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- send.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/send.py b/send.py index ad545d1..f2d671d 100644 --- a/send.py +++ b/send.py @@ -27,8 +27,8 @@ class SendApp: self.recv_frame = tk.Frame(window) self.recv_frame.pack(padx=10, pady=10) - self.recv_text = tk.Text(self.recv_frame, height=15, width=50) - self.recv_text.pack() + self.recv_text = tk.Text(self.recv_frame, height=40, width=50) + self.recv_text.pack(expand=True, fill="both") #创建udp对象 self.sk = socket.socket(type=socket.SOCK_DGRAM) self.sk.bind(("127.0.0.1", 5010))