Fix alignment of pitch title and the slider in the plotter example

This commit is contained in:
Simon Hausmann 2021-08-18 17:58:39 +02:00
parent 91930aad55
commit fa3f21ae61

View file

@ -25,14 +25,17 @@ export MainWindow := Window {
Image {
source: root.render_plot(pitch-slider.value);
}
GroupBox {
title: "Pitch";
HorizontalLayout {
Text {
text: "Pitch:";
font-weight: 600;
vertical-alignment: center;
}
pitch-slider := Slider {
minimum: 0;
maximum: 180;
value: 42;
}
}
}
}