Custom column size specefic for a resolution
Moderators: Hacker, petermad, Stefan2, white
Custom column size specefic for a resolution
My monitors at home and work have different resolutions. I set the column sizes fo right and left panel of TC when I am at home. When I get to work, they change as the resolution of my monitor at work is much higher. Then I have to set the sizes again and again when I get home!
Is there anyway to include the column size specifically for a resolution in wincmd.ini similar to other parameters like font size?
Is there anyway to include the column size specifically for a resolution in wincmd.ini similar to other parameters like font size?
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The column sizes are stored by resolution too. So for the first time it happens, use Configuration - Options - Tabstops - Default - OK to save them. You need to do this separately for each resolution. Or adjust them manually, and then use Configuration - Save position.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I have set two different customised culumn sizes for left and right panels. These configurations have different names of Right and Left.ghisler(Author) wrote:The column sizes are stored by resolution too. So for the first time it happens, use Configuration - Options - Tabstops - Default - OK to save them. You need to do this separately for each resolution. Or adjust them manually, and then use Configuration - Save position.
When I search for them in wincmd.ini I find this:
Code: Select all
[CustomFields]
AutoLoad=0
Widths1=338,48,-58,-59
Headers1=Size\nDate
Contents1=[=tc.size.bytes]\n[=tc.writedate.yMD] [=tc.writetime.hms]
Options1=-1|0
Titles=Left|Right
Widths2=216,31,-59,-27
Headers2=Size\nDate
Contents2=[=tc.size.bytes]\n[=tc.writedate.yMD]
Options2=-1|0
Thanks in advance!
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, custom columns are not by resolution. You could define two separate sets for each resolution, but this is of course far from optimal...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanks for your reply!ghisler(Author) wrote:Sorry, custom columns are not by resolution. You could define two separate sets for each resolution, but this is of course far from optimal...
It would be great if I can define two separate sets for each resolution, but I don't know how! Coule you please explain?
I have two panles with the width of 60/40 percente of the screen. The left one is %60 and the right one is %40. I have also specified different content and size for the the columns of each panel.Lefteous wrote:2msrox
I do understand that more columns make sense when using a higher resolution or maybe a more widescreen display.
What I don't get is that you want to change the (column?) sizes. As far as I know the sizes are defined in DLUs and this should adapt to the display resolution quite well.
Here is my setting from wincmd.ini:
Code: Select all
[CustomFields]
AutoLoad=0
Widths1=338,48,-58,-59
Headers1=Size\nDate
Contents1=[=tc.size.bytes]\n[=tc.writedate.yMD] [=tc.writetime.hms]
Options1=-1|0
Titles=Left|Right
Widths2=216,31,-59,-27
Headers2=Size\nDate
Contents2=[=tc.size.bytes]\n[=tc.writedate.yMD]
Options2=-1|0
2msrox
1. Those containing a string which is has a variable width
2. Those having a more or less fixed width like date or size.
So for some columns a fixed width is fine for others it's too limited. For the name column there is a setting which takes 100% of the unused window width. This is fine but there might be other columns where more width would be meaningful.
So what I imagine is that the user starts defining width which are expected to be okay in all situations and resolutions (minimal widths). This would be the same as now. The next step would be to introduce a new feature that superseeds the existing setting to grow the name column to window width. For each columm (or preferred for all where it makes sense) the user may set a percentage (added together 100%) how much a column gets form a larger window size. The default would be the current behavior (100%) grow for the name column. Instead of percentages grow factors might be easier to handle.
It could look similar to this:
http://lefteous.totalcmd.net/tc/ideas/column_grow.png
No. This would make sense for some columns but not for all. Different kind of columnsApparently the width of the columns are in absolute unit i.e. pixel or mm. Is there anyway to set them as pecentage of the panel width?
1. Those containing a string which is has a variable width
2. Those having a more or less fixed width like date or size.
So for some columns a fixed width is fine for others it's too limited. For the name column there is a setting which takes 100% of the unused window width. This is fine but there might be other columns where more width would be meaningful.
So what I imagine is that the user starts defining width which are expected to be okay in all situations and resolutions (minimal widths). This would be the same as now. The next step would be to introduce a new feature that superseeds the existing setting to grow the name column to window width. For each columm (or preferred for all where it makes sense) the user may set a percentage (added together 100%) how much a column gets form a larger window size. The default would be the current behavior (100%) grow for the name column. Instead of percentages grow factors might be easier to handle.
It could look similar to this:
http://lefteous.totalcmd.net/tc/ideas/column_grow.png
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You could use different tabs with different custom columns at home and at work. Just save them to a file via right click on the tabs, e.g. home.tab and work.tab.
Then use two buttons to switch between the two:
OPENTABS c:\dir\home.tab
OPENTABS c:\dir\work.tab
Then use two buttons to switch between the two:
OPENTABS c:\dir\home.tab
OPENTABS c:\dir\work.tab
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This is exactly what I need! Where did you get the snapshot from? Is there a version of TC to have this feature?Lefteous wrote:2msroxNo. This would make sense for some columns but not for all. Different kind of columnsApparently the width of the columns are in absolute unit i.e. pixel or mm. Is there anyway to set them as pecentage of the panel width?
1. Those containing a string which is has a variable width
2. Those having a more or less fixed width like date or size.
So for some columns a fixed width is fine for others it's too limited. For the name column there is a setting which takes 100% of the unused window width. This is fine but there might be other columns where more width would be meaningful.
So what I imagine is that the user starts defining width which are expected to be okay in all situations and resolutions (minimal widths). This would be the same as now. The next step would be to introduce a new feature that superseeds the existing setting to grow the name column to window width. For each columm (or preferred for all where it makes sense) the user may set a percentage (added together 100%) how much a column gets form a larger window size. The default would be the current behavior (100%) grow for the name column. Instead of percentages grow factors might be easier to handle.
It could look similar to this:
http://lefteous.totalcmd.net/tc/ideas/column_grow.png
2msrox

Another idea adressing the 'not all columns fit on screen when using smaller resolutions' issue. Just could define a custom column view containing all required columns even if they don't fit on the screen. By arranging the less important colums more to the right they won't be shown on these smaller displays but work nicely on your larger display.
As a helper you could try custom tooltips that provide the missing information file by file.
No, this is just a mockup I made to illustrate the ideaWhere did you get the snapshot from? Is there a version of TC to have this feature?

Another idea adressing the 'not all columns fit on screen when using smaller resolutions' issue. Just could define a custom column view containing all required columns even if they don't fit on the screen. By arranging the less important colums more to the right they won't be shown on these smaller displays but work nicely on your larger display.
As a helper you could try custom tooltips that provide the missing information file by file.
Thanks for your reply and ideas.Lefteous wrote:2msroxNo, this is just a mockup I made to illustrate the ideaWhere did you get the snapshot from? Is there a version of TC to have this feature?
Another idea adressing the 'not all columns fit on screen when using smaller resolutions' issue. Just could define a custom column view containing all required columns even if they don't fit on the screen. By arranging the less important colums more to the right they won't be shown on these smaller displays but work nicely on your larger display.
As a helper you could try custom tooltips that provide the missing information file by file.
ghisler(Author) mentioned that:
and I twice asked him how, but I haven't yet received any reply! do you know how I can do this?Sorry, custom columns are not by resolution. You could define two separate sets for each resolution, but this is of course far from optimal...
2msrox
Just copy the existing set of custom columns and adjust the copy (column widths, contents and so on) to the larger screen resolution. There's even a "Copy" button in the custom columns configuration window (so it's really easy).
Regards
Dalai
Just copy the existing set of custom columns and adjust the copy (column widths, contents and so on) to the larger screen resolution. There's even a "Copy" button in the custom columns configuration window (so it's really easy).
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
I see! So, I should create different set of custom clumns through GUI and then everytime I change monitor change them manually by mouse, Am I right?Dalai wrote:2msrox
Just copy the existing set of custom columns and adjust the copy (column widths, contents and so on) to the larger screen resolution. There's even a "Copy" button in the custom columns configuration window (so it's really easy).
Regards
Dalai
If so, is there any way to create buttons to set them for both panels by press of the button?