Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dfego committed Feb 18, 2024
1 parent 2b0b3cc commit 9393298
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ That's basically what this does.
* Has optional auto-update in the game and in the editor
* Has property to seet horizontal and vertical spacing overrides to the entire table

## Usage

To use, simply create a new `TableContainer` node in your scene tree.
Add `HBoxContainer` nodes to represent the rows, and ensure that all rows have the same number of columns (children).

The `TableContainer` node has four exported properties:

* `update_interval_editor`, if not `null`, updates the table's alignment in `_process` in the editor every number of frames specified.
* `update_interval_game`, if not `null`, updates the table's alignment in `_process` in the game every number of frames specified.
* `separation_horizontal`, if not `null`, applies a value to each row's `HBoxContainer` `theme_override_constants/separation` property.
* `separation_vertical`, if not `null,` applies a value to the `TableContainer` `theme_override_constants/separation` property.

## Limitations

Anything that's not listed above.
Expand Down

0 comments on commit 9393298

Please sign in to comment.