Page 1 of 1

Resizing Ext column when extension directly after filename

Posted: 2013-04-14, 08:13 UTC
by aRIEL242
Hi

When TC is configured to show the file extensions directly after filename, the resizing of the Ext column by itself is pointless.

I suggest that the Ext column header will be sized to a fixed and unresizable width. Enough to display the up/down sort arrow and the 'Ext' text.

The right and left delimiters of the Ext column will both resize the 'Name' column.

Basically it will be a fixed size button for sorting the list.

Posted: 2013-04-14, 08:59 UTC
by MVV
Different languages and fonts have different text widths so it is impossible to fix it. Also someone may want to increase/decrease width of extension header.

Posted: 2013-04-14, 11:54 UTC
by aRIEL242
MVV wrote:Different languages and fonts have different text widths so it is impossible to fix it.
There is an API for that:

Code: Select all

GetTextExtentPoint32()
MVV wrote:Also someone may want to increase/decrease width of extension header.
For what purpose? :?
My suggestion applies only to when the file extension appear directly after the filename (wincmd.ini: Aligned extension=0). In this configuration it is nothing but a button to sort the list.
Who needs a resizable button?

When Aligned extension=1 the current functionality should not be changed.

Posted: 2013-04-14, 12:03 UTC
by MVV
In this configuration it is nothing but a button to sort the list.
Exactly. Someone may want to have larger sort button than you. :wink:
Also, when you switch back to aligned extensions, tabstop headers are already ready.

Posted: 2013-04-14, 13:02 UTC
by aRIEL242
MVV wrote:Someone may want to have larger sort button than you. :wink:
I personally fail to see the point in a dynamically resaizable button (Someone wants to dynamically resize the OK/Cancel buttons? :shock: ) but I accept your argument to the extent that the user can set the size of the 'Ext' column header in the Configuration->Tabstops->Extension.

My argument is that resizing an empty column doesn't make sense.

More then once I find myself wanting to increase the size of the 'Size' column using the left delimiter. Since My TC is set to Aligned extension=0 I naturally expect that the resizing will be on the expense of the 'Name' column. The column on the left.

But the result is that I decreased the width of the 'Ext' column to the minimum and got stuck. Now I have to go the the right delimiter of the 'Name' column and move it to the right to make it smaller.

that's annoying.