diff --git a/crates/egui_demo_lib/src/demo/frame_demo.rs b/crates/egui_demo_lib/src/demo/frame_demo.rs index b4013c93..0027a98d 100644 --- a/crates/egui_demo_lib/src/demo/frame_demo.rs +++ b/crates/egui_demo_lib/src/demo/frame_demo.rs @@ -60,6 +60,7 @@ impl super::View for FrameDemo { .rounding(ui.visuals().widgets.noninteractive.rounding) .show(ui, |ui| { self.frame.show(ui, |ui| { + ui.style_mut().wrap = Some(false); ui.label(egui::RichText::new("Content").color(egui::Color32::WHITE)); }); });