fixup! feat(core): basic T1 layouts

pull/1690/head
Martin Milata 3 years ago
parent d1a9071fbd
commit c6d46b9e52

@ -476,6 +476,7 @@ mod tests {
#[test]
fn trace_example_layout() {
let title: Option<&str> = None;
let layout = Child::new(Dialog::new(
display::screen(),
|area| {
@ -487,7 +488,7 @@ mod tests {
},
Some(|area, pos| Button::with_text(area, pos, "Left", theme::button_cancel())),
Some(|area, pos| Button::with_text(area, pos, "Right", theme::button_default())),
None,
title,
));
assert_eq!(
trace(&layout),

Loading…
Cancel
Save