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

Column.width = Shrink by default #544

Open
elbaro opened this issue Oct 1, 2020 · 0 comments · May be fixed by #545
Open

Column.width = Shrink by default #544

elbaro opened this issue Oct 1, 2020 · 0 comments · May be fixed by #545

Comments

@elbaro
Copy link

@elbaro elbaro commented Oct 1, 2020

https://docs.rs/iced_native/0.2.2/src/iced_native/widget/column.rs.html#17-26

A Column will try to fill the horizontal space of its container.

However Column::new uses Shrink by default.

Column {
            spacing: 0,
            padding: 0,
            width: Length::Shrink,
...
@hecrj hecrj added this to the 0.3.0 milestone Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.