A simple and easy-to-use raygui layouts editor
  • C 97.5%
  • Makefile 1.7%
  • HTML 0.6%
  • CMake 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-14 23:09:28 +02:00
.github/workflows Updated GitHub Actions, removed old raylib flags 2026-07-06 21:49:39 +02:00
layouts Update window_messagebox.rgl 2023-09-26 16:28:12 +02:00
logo Update icons 24x24 and 48x48 2023-06-19 20:17:15 +02:00
projects REDESIGNED: Controls panel, follow new advance control conventions 2026-10-14 19:23:32 +02:00
screenshots Added screenshots 2022-10-26 17:29:36 +02:00
src REVIEWED: GuiWindowCodegen() to follow new advance controls conventions 2026-10-14 23:09:28 +02:00
.gitignore Merge pull request #16 from BugraAS/master 2026-06-17 10:07:41 +02:00
LICENSE Update copyright year to 2024 2024-01-03 14:19:19 +01:00
README.md Update year to 2026 2026-01-02 13:42:42 +01:00
USAGE.md Update USAGE.md 2022-10-26 16:24:35 +02:00

rGuiLayout

A simple and easy-to-use raygui layouts editor.

Useful for custom tools layout creation. The best tool companion for rGuiStyler and rGuiIcons.

rGuiLayout can be used for free as a WebAssembly online tool and it can also be downloaded as a standalone tool for Windows and Linux.

NOTE: Latest rGuiLayout 4.0 release is intended to be used with raygui 4.0 release.

Features

  • 25 gui controls to define your immmediate-mode gui layout
  • Place controls and move/scale them freely
  • Snap to grid mode for maximum precission
  • Link controls to anchors for better organization
  • Edit controls text and code name (for exported variables)
  • Icon selection panel on control text edition
  • Load/Save your layouts as .rgl text files
  • Supports .png image loading to be used as tracemap
  • Support for custom code templates to generate your controls code
  • Export layout directly as plain C code, ready to edit and compile
  • Multiple GUI styles available with support for custom ones (.rgs)
  • Command-line support for .rgl to .c/.h conversion
  • Completely portable (single-file, no-dependencies)
  • Free and open-source

Screenshot

rGuiLayout

Usage

For detailed usage information, check provided USAGE.md file.

The tool works with mouse and several key shortcuts that can be viewed with F1 key.

Use mouse wheel to navigate along the available controls or select them on right controls panel, place them on the main grid and scale as required.

Load and Save .rgl layout files to keep working on custom layouts.

Export layouts as code, Code Generation Window offers multiple export options to generate the code.

To compile generated code, you need raygui v4.0 library and latest raylib v4.6-dev.

rGuiLayout Standalone comes with command-line support for batch conversion. For usage help:

rguilayout.exe --help

License

rGuiLayout source code is distributed as open source, licensed under an unmodified zlib/libpng license.

rGuiLayout binaries are completely free for anyone willing to compile them directly from source.

rGuiLayout Standalone desktop tool could be downloaded with a small donation.

In any case, consider a donation to help the author keep working on software for games development.

Copyright (c) 2015-2026 raylib technologies (@raylibtech) / Ramon Santamaria (@raysan5)