Fix dashboard label shadowing warning

This commit is contained in:
hz
2026-07-19 00:36:05 -05:00
parent 027587445c
commit 1bfb3f5347
+4 -4
View File
@@ -177,10 +177,10 @@ func _render_systems(systems_value: Array) -> void:
for item in displayed:
var row := HBoxContainer.new()
row.add_theme_constant_override("separation", 10)
var name := _label(str(item.get("system", "General")), 13, Brand.text_color(UIThemeService.is_dark_mode()))
name.custom_minimum_size.x = 190
name.text_overrun_behavior = TextServer.OVERRUN_TRIM_ELLIPSIS
row.add_child(name)
var system_name_label := _label(str(item.get("system", "General")), 13, Brand.text_color(UIThemeService.is_dark_mode()))
system_name_label.custom_minimum_size.x = 190
system_name_label.text_overrun_behavior = TextServer.OVERRUN_TRIM_ELLIPSIS
row.add_child(system_name_label)
var bar := ProgressBar.new()
bar.show_percentage = false
bar.value = int(item.get("accuracy", 0))