Page 1 of 1

Adjust Address Bar Width

Posted: 06 Dec 2014 22:50
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

Re: Adjust Address Bar Width

Posted: 07 Dec 2014 04:34
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)

Re: Adjust Address Bar Width

Posted: 07 Dec 2014 18:07
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?

Re: Adjust Address Bar Width

Posted: 07 Dec 2014 18:37
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.

Re: Adjust Address Bar Width

Posted: 07 Dec 2014 21:42
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!

Re: Adjust Address Bar Width

Posted: 08 Dec 2014 11:24
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.

Re: Adjust Address Bar Width

Posted: 13 Dec 2014 02:49
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:

Re: Adjust Address Bar Width

Posted: 13 Dec 2014 09:51
by admin
You can take the credit for the "Testmeister-Tweak". There you got it, immortality!