@laggyluk thank you for example.
As Lainz said, you can do same app with BGRA + standart components. Perhaps creation in Unity is faster and more user friendly, you can also say: "making games in Unity is 1000x simpler than in C++" but I don't know if it can be compared in this way. You will find the limits very soon. On the other hand, if you know programming language there will be no big difference if we speak about Windows/Linux desktop app.
My BGRA example:
https://i.imgur.com/CLfXbjs.pngWhat could be better in combination Lazarus/BGRA and UI design:
- standardization of BGRAcontrols, more components, better work with "canvas" etc.
- special window where you can quickly define component design- colors, size, labels, fonts (now you must such search and search in object inspector, e.g. define every button state, it's very slow)
- working pre-defined styles/designs and their application to existing components
- make anchoring and placement on Form much simpler and faster
But it is non-commercial product, people put their free time into it. That's big difference. Engines as Unity or UE, which are here for years and which are really expensive on development had no proper UI until last 1-3 years? Before there was maybe menu button, healthbar a ammunition counter..
And they still have a problems with some things - it's very hardware-intensive render GUI in games, DPI & scaling or so.