geom3trik / tuix

Cross-platform GUI toolkit written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split container (vertical & horizontal)

WeirdConstructor opened this issue · comments

Vertical/horizontal split containter for 2 widgets, with handle to let the user adjust the ratio.

With some feedback when hovering the handle, like mouse cursor changing, but hovering should be fine too.

I would also need a on_change callback, that communicates when the user changed the ratio and a message to set the ratio externally. This is required to persist the UI state.

Duplicate of #39 X-D