修改了一下框的大小

master
jakeallen 8 months ago
parent 2889461b97
commit 3b9ea13616

@ -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))

Loading…
Cancel
Save