@@ -29,7 +29,7 @@ def __init__(self):
2929 super ().__init__ ()
3030
3131 self .title ('MQTT Client 0v4' )
32- self .geometry ('850x450 ' )
32+ self .geometry ('750x350 ' )
3333
3434 # self.rowconfigure(0, weight=1)
3535 # self.columnconfigure(0, weight=1)
@@ -180,9 +180,9 @@ def __init__(self):
180180 column = 0
181181
182182 # subscribe list
183- self .listbox_message = tk .Text (self , font = font_size , height = 12 )
183+ self .listbox_message = tk .Text (self , font = font_size , height = 10 )
184184 self .listbox_message .grid (row = row , column = column , columnspan = 6 ,
185- ipadx = 11 , ipady = 11 , padx = 22 , pady = 22 )
185+ ipadx = 5 , ipady = 5 , padx = 5 , pady = 5 )
186186
187187 # menu
188188 menubar = tk .Menu (self )
@@ -208,11 +208,12 @@ def __init__(self):
208208 self .connect_status_text .set ("..." )
209209 self .connect_status = tk .Label (self ,
210210 textvariable = self .connect_status_text ,
211- relief = tk .SUNKEN , anchor = "w" )
211+ bd = 1 ,
212+ relief = tk .SUNKEN , anchor = tk .W )
212213 row += 1
213214 column = 0
214215
215- self .connect_status .grid (row = row , column = column )
216+ self .connect_status .grid (row = row , column = column , columnspan = 5 , sticky = tk . W + tk . E )
216217
217218 self .subscriber = subscriber .Subscriber (self )
218219
0 commit comments