SirMallard / Iris

Iris is an Immediate-Mode GUI Library for Roblox for creating debug and visualisation UI and tools, based on Dear ImGui,
https://sirmallard.github.io/Iris/
MIT License
164 stars 25 forks source link

Resizable Panel (Splitter) #80

Open PepeElToro41 opened 1 week ago

PepeElToro41 commented 1 week ago

Resizable Panel (Splitter)

A resizable panel similar to the one in ImGui 281158535-d3307edc-f379-4f3a-a1c8-5f5801c8b058

Not sure how the api is gonna be for the user, maybe the user can use SameLine and render the resizable panel first and then another panel that fills the remaining part.

SirMallard commented 6 days ago

Having looked at the Dear ImGui source code, it just uses a left child window with a resize flag on it, which consumes up space on the left. This functionality could be added to regular groups.