Is this option's scope global, or is it associated with something (tabs, tabsets or alike)?
I noticed that I am loosing it under circumstances which I am still investigating, but they apparently could have something to do with changing of tabsets. My impression was that this was not always so.
Autosize columns
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Autosize columns
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 66375
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Autosize columns
It's a list style.
You might want to tick "Configuration | Styles | Apply list styles globally".
You might want to tick "Configuration | Styles | Apply list styles globally".
FAQ | XY News RSS | XY X
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: Autosize columns
Hm, thanks, but Apply list styles globally was/is already ticked in Configuration at my place. Strange.
Win 10 Pro 64bit
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: Autosize columns
I am continuing this thread with the following observation (has to do with default layout):
I change layout (eliminating a column). I declare it a default (for Browse layout). I browse, exit XY, restart XY, browse further... everything as expected.
I load an old tabset and go to a certain tab (folder). There I have an old layout, with the unwanted column, which is most probably as expected.
I "close" the tabset, by executing the following script:I then browse to some folder. At this point I see the unwanted column, as if the list layout from the previous tabset tab is being used, and not the default browse layout I would like to see.
What am I doing wrong? Better, what am I understanding and expecting wrong?
I change layout (eliminating a column). I declare it a default (for Browse layout). I browse, exit XY, restart XY, browse further... everything as expected.
I load an old tabset and go to a certain tab (folder). There I have an old layout, with the unwanted column, which is most probably as expected.
I "close" the tabset, by executing the following script:
Code: Select all
"Park : park"
perm $p_TabsetBase; $p_TabsetBase = ($p_TabsetBase=="") ? '<xydata>\Panes' : "$p_TabsetBase";
setting "BackgroundFileOps", 0;
goto "%computer%"; // alternative park position (My Computer = drives listing)
tab("sethome","<curpath_s>"); // set home temporarily
tab("lockhomezone", 0); // unlock current tab (might be locked)
tab("sethome"); // delete home
tab("rename",""); // unname it (might be named)
tab("closeothers");
$TabsetDir = eval('"'.$p_TabsetBase.'"') . "\";
if exists("$TabsetDir"."<get pane>")==2 { // if default tabset for this pane exists
tabset("saveas", "$TabsetDir"."$X$"); // then save current under temp. name
delete 0, 0, "$TabsetDir"."<get pane>"; // delete dafault
tabset("rename", "$TabsetDir"."<get pane>"); // rename current to dafault
} else {
tabset("saveas", "$TabsetDir"."<get pane>"); // else save as default
};
status "pane <get pane> parked: %computer%"; // report successful parkingWhat am I doing wrong? Better, what am I understanding and expecting wrong?
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 66375
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Autosize columns
Your tabset's defaults got inherited by the current active default. This is expected in most circumstances. I don't see anything I could/should change here.
FAQ | XY News RSS | XY X
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: Autosize columns
OK, I shall redefine layouts and then resave tabsets with my newer/current layout preferences. Thanks for the explanation.
Win 10 Pro 64bit
XYplorer Beta Club