@@ -302,62 +302,62 @@ def move_buttons(joystick=False): # Read position buttons and joystick
302302 image_group .append (cell )
303303
304304# Define labels and values
305- status_label = Label (font_0 , text = "" , color = None , max_glyphs = 6 )
305+ status_label = Label (font_0 , text = "" , color = None )
306306status_label .anchor_point = (0.5 , 0.5 )
307307status_label .anchored_position = ((WIDTH // 2 ) + (GRID_X_OFFSET // 2 ), HEIGHT // 2 )
308308image_group .append (status_label ) # image_group[225]
309309
310- alarm_label = Label (font_0 , text = "alm" , color = WHITE , max_glyphs = 3 )
310+ alarm_label = Label (font_0 , text = "alm" , color = WHITE )
311311alarm_label .anchor_point = (0 , 0 )
312312alarm_label .anchored_position = (1 , 16 )
313313image_group .append (alarm_label ) # image_group[226]
314314
315- max_label = Label (font_0 , text = "max" , color = RED , max_glyphs = 3 )
315+ max_label = Label (font_0 , text = "max" , color = RED )
316316max_label .anchor_point = (0 , 0 )
317317max_label .anchored_position = (1 , 46 )
318318image_group .append (max_label ) # image_group[227]
319319
320- min_label = Label (font_0 , text = "min" , color = CYAN , max_glyphs = 3 )
320+ min_label = Label (font_0 , text = "min" , color = CYAN )
321321min_label .anchor_point = (0 , 0 )
322322min_label .anchored_position = (1 , 106 )
323323image_group .append (min_label ) # image_group[228]
324324
325- ave_label = Label (font_0 , text = "ave" , color = YELLOW , max_glyphs = 3 )
325+ ave_label = Label (font_0 , text = "ave" , color = YELLOW )
326326ave_label .anchor_point = (0 , 0 )
327327ave_label .anchored_position = (1 , 76 )
328328image_group .append (ave_label ) # image_group[229]
329329
330- alarm_value = Label (font_0 , text = str (ALARM_F ), color = WHITE , max_glyphs = 3 )
330+ alarm_value = Label (font_0 , text = str (ALARM_F ), color = WHITE )
331331alarm_value .anchor_point = (0 , 0 )
332332alarm_value .anchored_position = (1 , 5 )
333333image_group .append (alarm_value ) # image_group[230]
334334
335- max_value = Label (font_0 , text = str (MAX_RANGE_F ), color = RED , max_glyphs = 3 )
335+ max_value = Label (font_0 , text = str (MAX_RANGE_F ), color = RED )
336336max_value .anchor_point = (0 , 0 )
337337max_value .anchored_position = (1 , 35 )
338338image_group .append (max_value ) # image_group[231]
339339
340- min_value = Label (font_0 , text = str (MIN_RANGE_F ), color = CYAN , max_glyphs = 3 )
340+ min_value = Label (font_0 , text = str (MIN_RANGE_F ), color = CYAN )
341341min_value .anchor_point = (0 , 0 )
342342min_value .anchored_position = (1 , 95 )
343343image_group .append (min_value ) # image_group[232]
344344
345- ave_value = Label (font_0 , text = "---" , color = YELLOW , max_glyphs = 3 )
345+ ave_value = Label (font_0 , text = "---" , color = YELLOW )
346346ave_value .anchor_point = (0 , 0 )
347347ave_value .anchored_position = (1 , 65 )
348348image_group .append (ave_value ) # image_group[233]
349349
350- min_histo = Label (font_0 , text = "" , color = None , max_glyphs = 3 )
350+ min_histo = Label (font_0 , text = "" , color = None )
351351min_histo .anchor_point = (0 , 0.5 )
352352min_histo .anchored_position = (GRID_X_OFFSET , 121 )
353353image_group .append (min_histo ) # image_group[234]
354354
355- max_histo = Label (font_0 , text = "" , color = None , max_glyphs = 3 )
355+ max_histo = Label (font_0 , text = "" , color = None )
356356max_histo .anchor_point = (1 , 0.5 )
357357max_histo .anchored_position = (WIDTH - 2 , 121 )
358358image_group .append (max_histo ) # image_group[235]
359359
360- range_histo = Label (font_0 , text = "-RANGE-" , color = None , max_glyphs = 7 )
360+ range_histo = Label (font_0 , text = "-RANGE-" , color = None )
361361range_histo .anchor_point = (0.5 , 0.5 )
362362range_histo .anchored_position = ((WIDTH // 2 ) + (GRID_X_OFFSET // 2 ), 121 )
363363image_group .append (range_histo ) # image_group[236]
0 commit comments