Page 1 of 2
Custom column size specefic for a resolution
Posted: 2016-11-07, 22:23 UTC
by msrox
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?
Posted: 2016-11-09, 09:42 UTC
by ghisler(Author)
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.
Posted: 2016-11-09, 10:55 UTC
by msrox
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.
I have set two different customised culumn sizes for left and right panels. These configurations have different names of Right and Left.
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
How can I set different values for these customised configuration the left and right panels for each resolution?
Thanks in advance!
Posted: 2016-11-09, 21:51 UTC
by ghisler(Author)
Sorry, custom columns are not by resolution. You could define two separate sets for each resolution, but this is of course far from optimal...
Posted: 2016-11-09, 23:31 UTC
by msrox
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...
Thanks for your reply!
It would be great if I can define two separate sets for each resolution, but I don't know how! Coule you please explain?
Posted: 2016-11-10, 08:49 UTC
by Lefteous
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.
Posted: 2016-11-10, 10:34 UTC
by msrox
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.
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.
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
Apparently 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?
Posted: 2016-11-10, 11:26 UTC
by Lefteous
2
msrox
Apparently 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?
No. This would make sense for some columns but not for all. Different kind of columns
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
Posted: 2016-11-10, 16:12 UTC
by ghisler(Author)
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
Posted: 2016-11-11, 08:03 UTC
by msrox
Lefteous wrote:2
msrox
Apparently 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?
No. This would make sense for some columns but not for all. Different kind of columns
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
This is exactly what I need! Where did you get the snapshot from? Is there a version of TC to have this feature?
Posted: 2016-11-11, 08:09 UTC
by msrox
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...
I'd like to do this, but don't know how! Please explain.
Posted: 2016-11-11, 09:01 UTC
by Lefteous
2
msrox
Where did you get the snapshot from? Is there a version of TC to have this feature?
No, this is just a mockup I made to illustrate the idea
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.
Posted: 2016-11-11, 23:52 UTC
by msrox
Lefteous wrote:2
msrox
Where did you get the snapshot from? Is there a version of TC to have this feature?
No, this is just a mockup I made to illustrate the idea
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.
ghisler(Author) mentioned that:
Sorry, custom columns are not by resolution. You could define two separate sets for each resolution, but this is of course far from optimal...
and I twice asked him how, but I haven't yet received any reply! do you know how I can do this?
Posted: 2016-11-12, 00:15 UTC
by Dalai
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
Posted: 2016-11-12, 05:28 UTC
by msrox
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
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?
If so, is there any way to create buttons to set them for both panels by press of the button?