@@ -239,22 +239,24 @@ def create_display_window(self):
239
239
# F11キーでバー表示モードを切り替える
240
240
self .display_window .bind ("<F11>" , self .toggle_hide_bar )
241
241
242
+ display_width = self .display_window .winfo_screenwidth ()
242
243
self .display_window .grid_rowconfigure (0 , weight = 1 )
243
244
self .display_window .grid_rowconfigure (1 , weight = 10 )
244
- self .display_window .grid_columnconfigure ((0 , 1 , 2 ), weight = 1 )
245
+ self .display_window .grid_columnconfigure (1 , weight = 1 )
246
+ self .display_window .grid_columnconfigure ((0 , 2 ), weight = 10 , minsize = (display_width )// 2 )
245
247
246
248
cooking_text_label = ctk .CTkLabel (self .display_window , text = "-調理中-" , font = ("Arial" , 24 , "bold" ))
247
- cooking_text_label .grid (row = 0 , column = 0 , padx = ( 20 , 20 ), pady = (0 , 20 ))
249
+ cooking_text_label .grid (row = 0 , column = 0 , pady = (0 , 20 ))
248
250
249
251
provide_text_label = ctk .CTkLabel (self .display_window , text_color = "darkgreen" , text = "-できあがり-" , font = ("Arial" , 24 , "bold" ))
250
- provide_text_label .grid (row = 0 , column = 2 , padx = ( 20 , 20 ), pady = (0 , 20 ))
252
+ provide_text_label .grid (row = 0 , column = 2 , pady = (0 , 20 ))
251
253
252
254
# 調理中の番号表示
253
- self .cooking_label = ctk .CTkLabel (self .display_window , text = "" , font = ("Arial" , 60 , "bold" ))
255
+ self .cooking_label = ctk .CTkLabel (self .display_window , text = "" , font = ("Arial" , 54 , "bold" ))
254
256
self .cooking_label .grid (row = 1 , column = 0 , padx = (0 , 0 ), sticky = "n" )
255
257
256
258
# 提供中の番号表示
257
- self .provide_label = ctk .CTkLabel (self .display_window , text_color = "darkgreen" , text = "" , font = ("Arial" , 60 , "bold" ))
259
+ self .provide_label = ctk .CTkLabel (self .display_window , text_color = "darkgreen" , text = "" , font = ("Arial" , 54 , "bold" ))
258
260
self .provide_label .grid (row = 1 , column = 2 , padx = (0 , 0 ), sticky = "n" )
259
261
260
262
# 調理中ラベルと提供中ラベルの間に縦線を追加
0 commit comments