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

ScrollArea::stick_to_bottom() has no effect if ScrollArea is not initialized #972

Closed
singalen opened this issue Dec 19, 2021 · 1 comment
Labels
bug Something is broken

Comments

@singalen
Copy link
Contributor

I create a ScrollArea from the very beginning in the "stick_to_bottom" state:

egui::ScrollArea::vertical()
    // .max_width(egui_ctx.available_rect().width())
    .stick_to_bottom()
    .auto_shrink([false; 2])
    .show(ui, |ui| {
...
    });

The ScrollArea, though, doesn't stick to the bottom.

@singalen singalen added the bug Something is broken label Dec 19, 2021
singalen added a commit to singalen/egui that referenced this issue Dec 19, 2021
singalen added a commit to singalen/egui that referenced this issue Dec 19, 2021
singalen added a commit to singalen/egui that referenced this issue Dec 19, 2021
singalen added a commit to singalen/egui that referenced this issue Dec 19, 2021
emilk pushed a commit that referenced this issue Dec 25, 2021
@singalen
Copy link
Contributor Author

Fix merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant