Skip to content

Making vertical ScrollAreas inside a horizontal layout use available space #1381

Answered by exoticorn
exoticorn asked this question in Q&A
Discussion options

You must be logged in to vote

Of course, right after posting the question I found the answer myself: Just replace ui::horizontal(...) with

ui.with_layout(egui::Layout::left_to_right().with_cross_justify(true), |ui| {

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arincdemir
Comment options

Answer selected by exoticorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants