-
I noticed that an For example, the following: ui.with_layout(
egui::Layout::top_down_justified(egui::Align::left()),
|ui| {
ui.image(self.texture_id, self.texture_actual_size);
},
); results in the image at the bottom of this post. I'm writing this as a discussion and not an issue because I'm unsure if this is intended behavior or not (this is easy to work around, so I'm happy with a decision either way). As an anecdote, this was confusing to me when I switched from a horizontal layout to using Anyways, thank you for working on such a cool project, I'm glad I discovered it! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! I think it makes sense for images to keep their aspect ratios. I've pushed a fix in d344c9d |
Beta Was this translation helpful? Give feedback.
Hi!
I think it makes sense for images to keep their aspect ratios. I've pushed a fix in d344c9d