How to change the layout of the GUI in Leo 6.8.2-devel

154 views
Skip to first unread message

Ray wang

unread,
Nov 8, 2024, 1:02:21 AM11/8/24
to leo-editor
  How to change the layout of the GUI in Leo 6.8.2-devel. How to make Figure 1 look like Figure 2  


Figure1
1.png
Figure2
2.png

Edward K. Ream

unread,
Nov 8, 2024, 2:48:57 AM11/8/24
to leo-e...@googlegroups.com
On Fri, Nov 8, 2024 at 12:02 AM Ray wang <wzy...@gmail.com> wrote:

  How to change the layout of the GUI in Leo 6.8.2-devel. How to make Figure 1 look like Figure 2  

See the help-for-layouts command for all such questions.

There is no need to memorize Leo's commands! Use emacs-style tab completion:

<Alt-X>help<tab> gives a list of all of Leo's help commands.
<Alt-X>help-<tab> gives a list of all of Leo's help-for commands.
<Alt-X>help-<tab>l<tab> selects only the help-for-layouts command.

So <Alt-X>help-<tab>l<tab><return> executes the help-for-layout command.

Now to answer your question :-)

Execute the layout-vertical-thirds command:  <Alt-x>lay<tab>v<tab><return>

If that's the layout you want, recall that the help-for-layouts command mentions:

@string qt-layout-name=legacy

Open your myLeoSettings.leo file:  <Alt-x>my<tab>-<tab><return>

In the @settings tree add the node:

@string qt-layout-name=vertical-thirds

Restart Leo and verify that the layout is the one you want.

HTH. Please feel free to ask more questions.

Edward

Ray wang

unread,
Nov 8, 2024, 4:51:44 AM11/8/24
to leo-editor
在2024年11月8日星期五 UTC+8 15:48:57<Edward K. Ream> 写道:
On Fri, Nov 8, 2024 at 12:02 AM Ray wang <wzy...@gmail.com> wrote:

  How to change the layout of the GUI in Leo 6.8.2-devel. How to make Figure 1 look like Figure 2  

See the help-for-layouts command for all such questions.

There is no need to memorize Leo's commands! Use emacs-style tab completion:

<Alt-X>help<tab> gives a list of all of Leo's help commands.
<Alt-X>help-<tab> gives a list of all of Leo's help-for commands.
<Alt-X>help-<tab>l<tab> selects only the help-for-layouts command.

So <Alt-X>help-<tab>l<tab><return> executes the help-for-layout command.

  Thank you, you are a very good teacher.

Now to answer your question :-)

Execute the layout-vertical-thirds command:  <Alt-x>lay<tab>v<tab><return>

If that's the layout you want, recall that the help-for-layouts command mentions:

@string qt-layout-name=legacy

Open your myLeoSettings.leo file:  <Alt-x>my<tab>-<tab><return>

In the @settings tree add the node:

@string qt-layout-name=vertical-thirds

Restart Leo and verify that the layout is the one you want.
 
  Yes, that's exactly what I wanted, it's already done. 
  Leo Editor has become my must-have software. Thanks, Edward.

Edward K. Ream

unread,
Nov 8, 2024, 5:09:43 AM11/8/24
to leo-e...@googlegroups.com
On Fri, Nov 8, 2024 at 3:51 AM Ray wang <wzy...@gmail.com> wrote:


在2024年11月8日星期五 UTC+8 15:48:57<Edward K. Ream> 写道:
On Fri, Nov 8, 2024 at 12:02 AM Ray wang <wzy...@gmail.com> wrote:
 
So <Alt-X>help-<tab>l<tab><return> executes the help-for-layout command.

  Thank you, you are a very good teacher.

You're welcome.

@string qt-layout-name=vertical-thirds

Restart Leo and verify that the layout is the one you want.
 
  Yes, that's exactly what I wanted, it's already done. 

I'm glad that worked for you

  Leo Editor has become my must-have software. Thanks, Edward.

Yes, we're taking over the world one Leonista at a time :-)

Edward

Thomas Passin

unread,
Nov 8, 2024, 9:08:30 AM11/8/24
to leo-editor
There is another way to see all the different layouts.  In the Settings menu there is a submenu Show Settings, and that one has an item Show LayoutsShow Layouts will open a tab in the Log frame that shows a diagram of each layout with its command name.  All the layout command names start with layout-, BTW.

There is yet another way, and this one is convenient if you want to apply a different layout but not make a change to your settings.  In the Plugins menu click qt_layout. You will see all the layout commands including layout-show-layouts (this is the command that shows the layout diagrams). If you know the name of a layout you want to use, click its name in the menu.

Ray wang

unread,
Nov 9, 2024, 8:47:40 AM11/9/24
to leo-editor
在2024年11月8日星期五 UTC+8 22:08:30<tbp1...@gmail.com> 写道:
There is another way to see all the different layouts.  In the Settings menu there is a submenu Show Settings, and that one has an item Show LayoutsShow Layouts will open a tab in the Log frame that shows a diagram of each layout with its command name.  All the layout command names start with layout-, BTW.

There is yet another way, and this one is convenient if you want to apply a different layout but not make a change to your settings.  In the Plugins menu click qt_layout. You will see all the layout commands including layout-show-layouts (this is the command that shows the layout diagrams). If you know the name of a layout you want to use, click its name in the menu.
   
  This method is great. Thank you very much. 
Reply all
Reply to author
Forward
0 new messages