Доработка. Отображение целей в таблице

This commit is contained in:
sasha80
2023-08-15 14:36:01 +03:00
parent a715287bfd
commit 2f179b2745
2 changed files with 4 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_2bft1"]
size = Vector2(1600, 1200)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_laka7"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ogspn"]
resource_local_to_scene = true
shader = ExtResource("4_gb4a1")
shader_parameter/color = Color(1, 1, 1, 0.168627)
@@ -26,6 +26,6 @@ centered = false
script = ExtResource("2_vkwmy")
[node name="строб" parent="." instance=ExtResource("3_uhdvc")]
material = SubResource("ShaderMaterial_laka7")
material = SubResource("ShaderMaterial_ogspn")
position = Vector2(560, 560)
scale = Vector2(1100, 1100)

View File

@@ -48,7 +48,7 @@ func pin_header(scrl: ScrollContainer, prnt: Control):
scrl.remove_child(header)
prnt.add_child(header)
## TODO: Это значение следует получить из темы
var v_separation: = 3.0
var v_separation = get_theme_constant('v_separation')
header.position = scrl.position - Vector2(0, header.size.y + v_separation)
scroll = scrl
scroll_adj = scrl.position
@@ -466,6 +466,7 @@ func connect_columns(dest_node: Node, event_name: String, callback: String, clmn
assert (OK == node.connect(event_name, conn))
node.set_meta(META_NAME_CALLEBLE, conn)
##
func set_rows_text(rows: Array) -> void:
for i_row in rows.size():