Resizing Ext column when extension directly after filename

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
aRIEL242
Junior Member
Junior Member
Posts: 65
Joined: 2009-06-29, 12:31 UTC

Resizing Ext column when extension directly after filename

Post 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.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post 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.
User avatar
aRIEL242
Junior Member
Junior Member
Posts: 65
Joined: 2009-06-29, 12:31 UTC

Post 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.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post 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.
User avatar
aRIEL242
Junior Member
Junior Member
Posts: 65
Joined: 2009-06-29, 12:31 UTC

Post 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.
Post Reply