This is definitely a minor issue,
but it would be a nice little convenience,
and (I suspect) very quick to program.
Description :
all the time I use dual panes, classic left and right,
sometimes - for one reason or another - I move the middle slider
to make one pane larger or smaller;
but when I am done with that particular task
there is no easy way to restore the settings
where both panes are of equal width.
I have to use a screen ruler to make them equal.
Suggestion :
In the XYplorer menu, under Panes,
add an entry "Make panes equal size".
Thanks !
Make 2 Panes Equal in Size
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Make 2 Panes Equal in Size
Just use a simple script?
Code: Select all
$halfWidth = round((getkey("Pane1Width", "Layout") + getkey("Pane2Width", "Layout")) * 0.5, 0);
if(get("pane") == 1) {
focus "P2"; setlayout("Pane1Width=$halfWidth, Pane2Width=$halfWidth");
} else {
focus "P1"; setlayout("Pane1Width=$halfWidth, Pane2Width=$halfWidth");
}
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Make 2 Panes Equal in Size
Double-click the splitter between the panes. 
FAQ | XY News RSS | XY X
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Make 2 Panes Equal in Size
A button is easier to click than the splitter line on high-res monitors 
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Make 2 Panes Equal in Size
Yep, this feature is "fine motor skills required".
FAQ | XY News RSS | XY X
-
stoik
- Posts: 150
- Joined: 01 May 2013 19:51
Re: Make 2 Panes Equal in Size
Oh, thank You guys,
Your tips are fantastic !!
Both button and divider
are very convenient.
Your tips are fantastic !!
Both button and divider
are very convenient.
XYplorer Beta Club