Skip to content

Commit 3968cba

Browse files
committed
Use auto_shrink(false) instead of set_width
1 parent f617a72 commit 3968cba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

objdiff-gui/src/views/config.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,7 @@ pub fn config_ui(
297297
node_open = NodeOpen::Open;
298298
}
299299

300-
egui::ScrollArea::both().show(ui, |ui| {
301-
ui.set_width(ui.available_width());
300+
egui::ScrollArea::both().auto_shrink(false).show(ui, |ui| {
302301
CollapsingHeader::new(RichText::new("🗀 Objects").font(FontId {
303302
size: appearance.ui_font.size,
304303
family: appearance.code_font.family.clone(),

0 commit comments

Comments
 (0)