vokegpu / ekg-ui-library

High-performance multi-platform modular GUI library with GPU API modular support: OpenGL/Vulkan accelerated
MIT License
73 stars 3 forks source link

Bad env to mini rectangles UI logic. #2

Closed MrsRina closed 1 year ago

MrsRina commented 1 year ago

All widgets reload are "hardcoded" but one new feature called layout mask can solve this issue. Layout mask process new rectangles position not arbitrary, or be, depending of received dock flag, the service automatically set scaled position and generate a final rectangle mask.

More info about the feature: Layout service documentation

MrsRina commented 1 year ago

Checkbox was the first widget element using layout mask feature from layout service. Soon all widgets come to use layout mask feature.