Skip to content

Commit

Permalink
Merge pull request #198 from Ptitet/patch-1
Browse files Browse the repository at this point in the history
Changed the description of the h() function for the layout in the README
  • Loading branch information
nakst authored Mar 11, 2025
2 parents 12f2ad2 + a83f6f0 commit 338b690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ height=600

To change the font, FreeType must have been available when you compiled gf. You can enable subpixel font rendering by recompiling with `extra_flags=-DUI_FREETYPE_SUBPIXEL ./build.sh`.

You can also configure the interface layout, with the `layout` parameter. Use `h(position,left,right)` to create a horizontal split, `v(position,left,right)` to create a vertical split, and `t(...)` to create a tab pane. This value should not contain any whitespace. Please note this value is not validated, so make sure it is formatted correctly!
You can also configure the interface layout, with the `layout` parameter. Use `h(position,leftSide,rightSide)` to create a horizontal split, `v(position,topSide,bottomSide)` to create a vertical split, and `t(...)` to create a tab pane. This value should not contain any whitespace. Please note this value is not validated, so make sure it is formatted correctly!

```ini
layout=h(75,v(75,Source,Console),v(50,t(Watch,Breakpoints,Commands,Struct,Exe),t(Stack,Files,Registers,Data,Thread))))
Expand Down

0 comments on commit 338b690

Please sign in to comment.