Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splitter widget #226

Closed
wants to merge 5 commits into from
Closed

Splitter widget #226

wants to merge 5 commits into from

Conversation

dparnell
Copy link
Contributor

Hi, I have created simple h_splitter and v_splitter widgets and updated the main example to use the h_splitter as an example

Comment on lines -224 to 226

#[derive(Debug)]

pub struct StylePropInfo {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change that?

@dominikwilkowski
Copy link
Contributor

Out of curiosity: what does the splitter do over the stack? Is it just a stack with exactly two children and some sizing?

@dparnell
Copy link
Contributor Author

Yes, all it does it allow the parts to be sized. If the stack had a sizing option that would be really cool. I guess having a splitter widget is a bit more explicit.

@dparnell dparnell closed this Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants