currently the lister viewer pane can be aligned on the right side and on the bottom of DO.
Presumably this option does not exist already, would it be possible to add a third option to display the viewer inside the lister on the bottom?
When displaying e.g. a PDF file, the view is very small when the file is shown on the bottom. If I display this file on the right side, the size is too small, too!
Hence, when displaying a file inside a lister, on bottom, it would be way bigger and better readable.
Moreover, this additional options allows, in case of a dual vertical layout, to view two files at once.
This hardcopy is a part of my listers and I've inserted the viewer pane (from the left sided) to the bottom. A bar on top of the PDF (picture, textfile etc.) allows me to resize the content horizontally.
When resizing the DO main window it should resize the viewer accordingly, just like the listers already resize themselves today.
From the other file display. E.g. I'm selecting a PDF file on the left file display and click to open the viewer panel. The right file display should automatically close and the viewer resizes to the now available bigger space.
After closing the viewer panel, the previously closed file display (on the right side in my example) should re-open again.
With simple words: Close unneeded file display, let the other one left open with the file I've selected. Display the viewer panel and resize the panel to the available space. Closing the viewer panel again resets DO to its previous state.
You can use Set DUAL=<On/Off/Toggle>,Remember to turn the dual display on and off, and remember its previous folder.
You probably don't want to use styles for this as they won't remember the folder.
From the screenshots, it looks like the answer to my question is that the listers are always maximized, in which case you can save the default size of the file displays and viewer using Settings > Set as Default Lister. With their sizes saved, your button just has to turn them on and off.
Leo, is there a command to get the current focused file display and set the focus accordingly? Right now I assume that my e.g. PDF file is always located in the left display, however, I would make the script a bit more dynamically an focus left or right.