Fix dashboard label shadowing warning
This commit is contained in:
@@ -177,10 +177,10 @@ func _render_systems(systems_value: Array) -> void:
|
|||||||
for item in displayed:
|
for item in displayed:
|
||||||
var row := HBoxContainer.new()
|
var row := HBoxContainer.new()
|
||||||
row.add_theme_constant_override("separation", 10)
|
row.add_theme_constant_override("separation", 10)
|
||||||
var name := _label(str(item.get("system", "General")), 13, Brand.text_color(UIThemeService.is_dark_mode()))
|
var system_name_label := _label(str(item.get("system", "General")), 13, Brand.text_color(UIThemeService.is_dark_mode()))
|
||||||
name.custom_minimum_size.x = 190
|
system_name_label.custom_minimum_size.x = 190
|
||||||
name.text_overrun_behavior = TextServer.OVERRUN_TRIM_ELLIPSIS
|
system_name_label.text_overrun_behavior = TextServer.OVERRUN_TRIM_ELLIPSIS
|
||||||
row.add_child(name)
|
row.add_child(system_name_label)
|
||||||
var bar := ProgressBar.new()
|
var bar := ProgressBar.new()
|
||||||
bar.show_percentage = false
|
bar.show_percentage = false
|
||||||
bar.value = int(item.get("accuracy", 0))
|
bar.value = int(item.get("accuracy", 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user