So how do you arrange panes now?

73 views
Skip to first unread message

tfer

unread,
Jan 27, 2020, 4:00:40 PM1/27/20
to leo-editor
I'm looking to arrange the panes differently for a certain workflow and I find that has all changed.  Trying to discover what to do via the menu's runs me into this unhelpful error message:
-----------------------------------------------------------------------------------------------------------
free-layout-context-menu works only when
--no-dock is in effect
-----------------------------------------------------------------------------------------------------------
Maybe that is a switch I need to start Leo with?

Used to be a "Toggle split direction" command that would let have two columns, outline and log on the Left, body on the right.  That would be enough, though just outline and body would be ideal.

Nothing found in doc's, could someone explain?

Tom

Edward K. Ream

unread,
Jan 28, 2020, 6:16:14 AM1/28/20
to leo-editor
On Mon, Jan 27, 2020 at 3:00 PM 'tfer' via leo-editor <leo-e...@googlegroups.com> wrote:

> Used to be a "Toggle split direction" command that would let have two columns, outline and log on the Left, body on the right.  That would be enough, though just outline and body would be ideal.

--init-docks allows you to arrange everything. Without this option, Leo prevents you from moving the VR pane out of the body pane. That can't be undone using the user interface, due to limitations of Qt's user interface.

BTW, I use --no-dock on a laptop. That prevents unwanted rearrangements, which happens too frequently for my liking on a small screen.

Edward

Thomas Passin

unread,
Jan 29, 2020, 11:52:33 PM1/29/20
to leo-editor
I put a setting into MyLeoSettings, thanks to Chris George:

@string central-dock-widget = body

This lets me move panels around into three columns:

1. Left-hand column: the outline pane and below it, the Tabs pane.
2. Center column - the body pane.
3. Right-hand column (may not be shown) - for Viewrendered and other auxilliary displays.

I've used this layout for years.  I like it because I want the maximum height possible for the body editor.  The outline is more compact, so it doesn't need as much space.  The Tabs pane also hardly ever needs to be full height.  And more columns would make the others too skinny, especially the body pane.

I dislike intensely the default panel arrangement you get with Leo since it went to the new QT system in 6.0.  In fact, I probably would have stopped using Leo if I hadn't learned from Chis George how to get around it.
 

tfer

unread,
Jan 30, 2020, 12:26:59 AM1/30/20
to leo-editor
Thanks Edward and Tom, I'll have to check these out. Anyone using Leo with Windows !0 virtual desktops?

Tom

Thomas Passin

unread,
Jan 30, 2020, 10:11:24 AM1/30/20
to leo-editor


On Thursday, January 30, 2020 at 12:26:59 AM UTC-5, tfer wrote:
Thanks Edward and Tom, I'll have to check these out. Anyone using Leo with Windows !0 virtual desktops

Yes, every day.  It works fine.

tfer

unread,
Jan 30, 2020, 9:52:02 PM1/30/20
to leo-editor
I was hoping to spread Leo across two virtual desktops, possibly in the --no-dock option, but that isn't the the way WVD's work.

I did get get to play with the --no-dock option and got a two column arrangement of the outline and body panes, the log pane just close via the context menu, pretty cool.  Are the any keyboard shortcut to increase/decrease the focused panel? or minimize/maximize it?

Edward K. Ream

unread,
Jan 31, 2020, 5:19:23 AM1/31/20
to leo-editor
On Thu, Jan 30, 2020 at 8:52 PM 'tfer' via leo-editor <leo-e...@googlegroups.com> wrote:

> Are the any keyboard shortcuts to increase/decrease the focused panel? or minimize/maximize it?

There aren't any commands that do what you want. Two related command-line arguments exist: --maximized and --fullscreen.

There used to be several commands that worked on various panes. Iirc they were increase-body-pane, decrease-body-pane, and similar for the outline and log panes. These went away with the addition of docks, but perhaps that was a mistake.

Edward
Reply all
Reply to author
Forward
0 new messages