TGUI icon indicating copy to clipboard operation
TGUI copied to clipboard

Any plan to support other layout engine like clay?

Open zeroxer opened this issue 7 months ago • 1 comments

First of all, thank you very much for developing TGUI. This is the most elegant C++ GUI library I've ever used! I'm currently developing my own indie software using TGUI, and I really appreciate its design.

However, I noticed that TGUI uses its own layout system. While functional, it's not as intuitive as CSS Flexbox in my experience. I'm wondering: have you ever considered supporting external or custom layout engines?

For example, I'm currently exploring the possibility of integrating clay (a layout engine inspired by Yoga/Flexbox) into TGUI as an alternative to the built-in layout system.

Would you be open to this kind of integration or to adding an API that allows users to plug in their own layout logic?

Thanks again for your awesome work!

  • clay High performance UI layout library in C.

zeroxer avatar Jul 19 '25 11:07 zeroxer

The layout system could definitely use a major overhaul, but I have no idea where to even start with it or in what direction I would want to go with it.

If something like this could be integrated without breaking the current system then I would definitely be open to it.

texus avatar Jul 19 '25 14:07 texus