Add scaffolding for the X-Y pad
This commit is contained in:
parent
6e103baf4d
commit
72dbce92eb
|
@ -128,7 +128,16 @@ fn spectrum_analyzer(cx: &mut Context) {
|
|||
.child_space(Stretch(1.0));
|
||||
|
||||
VStack::new(cx, |cx| {
|
||||
Label::new(cx, "When I grow up, I want to be a spectrum analyzer!")
|
||||
ZStack::new(cx, |cx| {
|
||||
Label::new(cx, "When I grow up, I want to be a spectrum analyzer!");
|
||||
|
||||
Label::new(
|
||||
cx,
|
||||
"When I close my eyes sometimes I\npretend to be an X-Y pad.",
|
||||
)
|
||||
.font_size(25.0)
|
||||
.rotate(17.0f32);
|
||||
})
|
||||
.child_space(Stretch(1.0))
|
||||
.width(Percentage(100.0))
|
||||
.background_color(DARK_GRAY)
|
||||
|
|
Loading…
Reference in a new issue