Доработка. Таблица настроек

This commit is contained in:
lepshiy
2025-03-28 11:28:16 +03:00
parent 6f293cdb3e
commit 280aeace96
6 changed files with 79 additions and 65 deletions

View File

@@ -38,7 +38,7 @@ func init_table():
$table.set_node_alligment(0, MOD_ROW_INDEX, HORIZONTAL_ALIGNMENT_LEFT)
$table.set_node_editable(0, MOD_ROW_INDEX, false)
var taggle_node = $table.get_node2(1, MOD_ROW_INDEX)
var taggle_btn = taggle_node.get_children()[1]
var taggle_btn = taggle_node.get_children()[0]
taggle_btn.connect('pressed', on_taggle_btn.bind(taggle_btn))
taggle_btn.disabled = true
$table.set_columns_min_size(TABLE_COLUMN_SIZE)