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

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

@@ -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():