summaryrefslogtreecommitdiffstats
path: root/examples/markdown/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/markdown/src/main.rs')
-rw-r--r--examples/markdown/src/main.rs11
1 files changed, 4 insertions, 7 deletions
diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs
index 384645fa..1e3769ff 100644
--- a/examples/markdown/src/main.rs
+++ b/examples/markdown/src/main.rs
@@ -60,13 +60,10 @@ impl Markdown {
let preview = markdown(&self.items);
- row![
- editor,
- scrollable(preview).spacing(10).width(Fill).height(Fill)
- ]
- .spacing(10)
- .padding(10)
- .into()
+ row![editor, scrollable(preview).spacing(10).height(Fill)]
+ .spacing(10)
+ .padding(10)
+ .into()
}
fn theme(&self) -> Theme {