Skip to content

Conversation

szanni
Copy link

@szanni szanni commented Sep 19, 2020

Proposal to add API functions to get and set table column widths:

int uiTableColumnWidth(uiTable *t, int column);
void uiTableColumnSetWidth(uiTable *t, int column, int width);

Same as in #513 we need a way to identify columns, so I cherry picked the commit that does column identification by index.

Implementations provided for all platforms (darwin, unix, windows) with a testbed in page16.

To be able to identify table columns individually use the order
that columns have been added to the table as the ID.
First added column: 0, second: 1, ...
uiTableColumnWidth
uiTableColumnSetWidth

Implementations provided for darwin, unix, and windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant