New Commands: ColumnAutoExpand / ColumnWidth
Posted: 2024-10-27, 16:19 UTC
Suggestion (in addition to viewtopic.php?p=416984&hilit=column#p416984, which I don't get tired of asking about
):
How about a new command for scripting (e.g., Autorun) or when switching viewmodes:
Would make column ColNo as wide as possible so that all other columns in the panel remain visible (without moving the panel separator, of course)?
If no ColNo is specified, the leftmost column is assumed.
If the resulting width of the column ColNo would be less or equal to 10 (or any other "suitable" minimum width), the command takes no action.
---
It would also be nice to have
to set the column width explicitly.
If no width is specified, the column could shrink to the width which it would receive when double clicking the separator in the header of the list.

How about a new command for scripting (e.g., Autorun) or when switching viewmodes:
Code: Select all
cm_ColumnAutoExpand <ColNo>
If no ColNo is specified, the leftmost column is assumed.
If the resulting width of the column ColNo would be less or equal to 10 (or any other "suitable" minimum width), the command takes no action.
---
It would also be nice to have
Code: Select all
cm_ColumnWidth1 <width>
...
cm_ColumnWidth20 <width>
If no width is specified, the column could shrink to the width which it would receive when double clicking the separator in the header of the list.