mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Fix alignment of pitch title and the slider in the plotter example
This commit is contained in:
parent
91930aad55
commit
fa3f21ae61
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue