Adjust Address Bar Width

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
TestMeister
Posts: 249
Joined: 04 Feb 2008 20:17
Location: Win 11 Pro v25H2- 125%

Adjust Address Bar Width

Post by TestMeister »

(Apologies if I have missed this but had no luck resolving through the board search)

Is it possible to adjust the width of the address bar? I prefer the tool bar over the tabs so would like to reduce the AB size.
ScreenHunter_414 Dec. 06 13.49.png
I tried adjusting the value of "ToolbarKeepOff" but the only change it seemed to make was reducing the size of the tool bar and adding the tool bar drop-down.

Thanks!

XY 14.60.02
To see the attached files, you need to log into the forum.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Adjust Address Bar Width

Post by bdeshi »

Decrease ToolbarKeepOff, decrease minimum AB width
Increse ToolbarKeepOff, increase minimum AB width

The keyword here is minimum.
If toolbar buttons take up little space, the AB will become longer to fill up the remaining width of the toolbar.
But if buttons take up a lot of space, then the AB will never shrink to less than the value set in toolbarkeepoff.
Perhaps this attached img will explain better:

Here, ToolbarKeepOff=200. Now,
Case 1: buttons need more space than available (window resized). But AB is staying at 200px width (and will never shrink farther) .
Case 2: toolbar has sufficient space to show all buttons. AB is widened to fill up the remaining space.
Case 3: buttons are switched to large mode to create a shortage of space. Again AB shrinks down to minimum 200px and no more.
ElasticAB.png
So, in short, to align toolbar with tabs, keep adding user buttons to toolbar until you achieve desired size. Also, set ToolbarKeepOff to a very small value (perhaps width of tree pane)
To see the attached files, you need to log into the forum.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

TestMeister
Posts: 249
Joined: 04 Feb 2008 20:17
Location: Win 11 Pro v25H2- 125%

Re: Adjust Address Bar Width

Post by TestMeister »

Thanks trying those settings now...thinking on this further, what I am really trying to do is just anchor the tool bar on the list pane, left-justified. Is there a setting just for that?

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Adjust Address Bar Width

Post by klownboy »

You can do this with the Tab bar by selecting or unselecting Wide Tabs under Window | Arrangement, but unfortunately no, you can't do the same with the Toolbar.

TestMeister
Posts: 249
Joined: 04 Feb 2008 20:17
Location: Win 11 Pro v25H2- 125%

Re: Adjust Address Bar Width

Post by TestMeister »

Unfortunately ToolbarKeepOff controls the minimum AB size and what I would need is control of the maximum size.
The best I could do was this:
ToolbarKeepOff=100
ToolbarSepFac=8 (spaces out the TB)
Added a couple of items/separators to the TB
ScreenHunter_415 Dec. 07 12.34.png

Close enough, thanks to all for the help!
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adjust Address Bar Width

Post by admin »

Würg.

Next beta:

Code: Select all

    * The Address Bar might share a row with the Toolbar: Up to now there was a 
      default minimum width for the Address Bar of 400 pixels. You could modify 
      that value via the tweak ToolbarKeepOff.
      Now you can alternatively set a fixed width for the Address Bar via this 
      tweak. e.g.:
        AddressBarWidth=300
      If AddressBarWidth is set then ToolbarKeepOff is ignored.

TestMeister
Posts: 249
Joined: 04 Feb 2008 20:17
Location: Win 11 Pro v25H2- 125%

Re: Adjust Address Bar Width

Post by TestMeister »

Don, were you going to do this anyway or can I take credit for it :)

Either way, you're the best, many thanks :appl:

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adjust Address Bar Width

Post by admin »

You can take the credit for the "Testmeister-Tweak". There you got it, immortality!

Post Reply