New Commands: ColumnAutoExpand / ColumnWidth

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 491
Joined: 2013-12-04, 09:56 UTC

New Commands: ColumnAutoExpand / ColumnWidth

Post by *funkymonk »

Suggestion (in addition to viewtopic.php?p=416984&hilit=column#p416984, which I don't get tired of asking about :wink:):

How about a new command for scripting (e.g., Autorun) or when switching viewmodes:

Code: Select all

cm_ColumnAutoExpand <ColNo>
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

Code: Select all

cm_ColumnWidth1 <width>
...
cm_ColumnWidth20 <width>
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.
Post Reply