Page 1 of 1

Divide the space of two pane by click

Posted: 15 Dec 2009 17:18
by paul0
Currently, we can double click the middle (vertical) line to divide the two pane with equal space.

suggestions:
Ctrl+double click: divide space 1:2 for two panes
Alt+double click: divide space 2:1 for two panes
Shift+double click: show one pane (active one) instead of two panes

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 20:44
by admin
Did you know that you can drag the splitter? :P

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 21:30
by paul0
yes. :lol:

But I prefer clicking :D

-- Two panes browsinng is a beautiful feature of xyplorer :!:

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 21:31
by nony
I see there is already a splitter context menu. So it might be handy to have some predefined widths there.

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 21:52
by admin
Fancy stuff next summer.

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 22:05
by paul0
nony wrote: So it might be handy to have some predefined widths there.
I agree. It will beconvenient to use pre-defined width for different browsing patterns.

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 22:06
by paul0
admin wrote:Fancy stuff next summer.
xyplorer always give customers surprises. We will keep waiting... :lol:

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 23:08
by PeterH
Instead of moving splitter to a predefined value like 1:2 or so, (it would never be where I really want it :( ) I'd prefer to "flip" it. That is: if it's 77:23, it would become 23:77. Either by a simple click or keystroke, or (for me even better) combined with "Toggle Active Pane".

Reason: I often have a big "main-"pane to work, and a second small one just to see files in another directory. Toggling to that pane I would like it to expand, and the other to shrink.

Re: Divide the space of two pane by click

Posted: 15 Dec 2009 23:28
by Stefan
I could imagine an command
to toggle the position of the splitter between middle and last pos. (like Window > Last Size/Minimize Info Panel Alt+F12)

Then i would assign an shortcut,
move the splitter one time to maximize one pane,
and then use the shortcut to toggle the width whenever i need it.

This would be nifty to see all columns if the file names are too long once again :P
Right now i use Ctrl+F10 for that (Panes / Horizontal Panes)

Re: Divide the space of two pane by click

Posted: 16 Dec 2009 00:18
by TheQwerty
I imagine wonderful scripting capabilities!

Code: Select all

pos = Splitter(Splitter, [Size]);
Required: The 'Splitter' to get/set; one of:
  1. DP - Dual Pane
  2. IP - Info Panel
  3. NP - Navigation Panel
  4. Cat - Catalog/Tree
Optional: 'Size' the percentage of space to give to the top/left panel by re-positioning the splitter.
If the value of 'Size' is smaller/larger than the acceptable size then it should use the min/max for that panel.
This could also have text labels "Full" and "Close" (or similar) to specify that it or the bottom/right panel should be hidden.

Returns: The percentage of space used by the top/left panel.
This will typically be the same as Size, except for the previous point or when Size is omitted.

Re: Divide the space of two pane by click

Posted: 16 Dec 2009 00:54
by PeterH
TheQwerty wrote:I imagine wonderful scripting capabilities!
...
For scripting: full capabilities :D
That would be, for me

Code: Select all

pos = Splitter(1, 100-Splitter(1));
(I hope inner call is made first?)

But ok - another thing for the moment: double-click on pane splitter moves it to 50%. Could another double-click (now, as it *is* 50%) move it back?

And, as I don't like these "fixed" positions like 50%, add a config option to change 50% to swap left/right :roll: :P