Don't wrap the text in the `Frame` demo
This commit is contained in:
parent
0a428f0887
commit
73dbfd689b
|
|
@ -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));
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue