mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Minor cleanup in the plotter example
Use a horizontal box instead of a horizontal layout
This commit is contained in:
parent
d5a969f804
commit
234dfd85b6
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
This file is also available under commercial licensing terms.
|
||||
Please contact info@sixtyfps.io for more information.
|
||||
LICENSE END */
|
||||
import { Slider, GroupBox, VerticalBox } from "sixtyfps_widgets.60";
|
||||
import { Slider, GroupBox, HorizontalBox, VerticalBox } from "sixtyfps_widgets.60";
|
||||
|
||||
export MainWindow := Window {
|
||||
title: "SixtyFPS Plotter Integration Example";
|
||||
|
@ -25,7 +25,7 @@ export MainWindow := Window {
|
|||
Image {
|
||||
source: root.render_plot(pitch-slider.value);
|
||||
}
|
||||
HorizontalLayout {
|
||||
HorizontalBox {
|
||||
Text {
|
||||
text: "Pitch:";
|
||||
font-weight: 600;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue