Page 1 of 1

Autosize columns

Posted: 10 Mar 2013 16:26
by Borut
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.

Re: Autosize columns

Posted: 10 Mar 2013 16:49
by admin
It's a list style.

You might want to tick "Configuration | Styles | Apply list styles globally".

Re: Autosize columns

Posted: 10 Mar 2013 19:05
by Borut
Hm, thanks, but Apply list styles globally was/is already ticked in Configuration at my place. Strange.

Re: Autosize columns

Posted: 13 Apr 2013 14:24
by Borut
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:

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 parking
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?

Re: Autosize columns

Posted: 15 Apr 2013 13:17
by admin
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.

Re: Autosize columns

Posted: 15 Apr 2013 14:08
by Borut
OK, I shall redefine layouts and then resave tabsets with my newer/current layout preferences. Thanks for the explanation.