How to change the layout of the GUI in Leo 6.8.2-devel. How to make Figure 1 look like Figure 2
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 2See 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=legacyOpen your myLeoSettings.leo file: <Alt-x>my<tab>-<tab><return>In the @settings tree add the node:@string qt-layout-name=vertical-thirdsRestart Leo and verify that the layout is the one you want.
在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.
@string qt-layout-name=vertical-thirdsRestart 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.
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 Layouts. Show 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.