mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Change widget order & fix minor bug
This commit is contained in:
parent
5c3e72af5d
commit
719d6f69de
@ -354,7 +354,7 @@ Control {
|
||||
delegate: Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.minimumHeight: 196
|
||||
Layout.minimumHeight: groupDelegate.visible ? 196 : 0
|
||||
|
||||
Widgets.GroupDelegate {
|
||||
id: groupDelegate
|
||||
@ -380,7 +380,7 @@ Control {
|
||||
delegate: Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.minimumHeight: 196
|
||||
Layout.minimumHeight: graphDelegate.visible ? 196 : 0
|
||||
|
||||
Widgets.GraphDelegate {
|
||||
id: graphDelegate
|
||||
|
@ -96,22 +96,6 @@ Control {
|
||||
columnSpacing: app.spacing
|
||||
columns: Math.floor(_sv.width / (root.minimumWidgetSize + 2 * app.spacing))
|
||||
|
||||
Repeater {
|
||||
id: accGenerator
|
||||
|
||||
delegate: Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.minimumWidth: root.minimumWidgetSize
|
||||
Layout.minimumHeight: root.minimumWidgetSize
|
||||
|
||||
Widgets.AccelerometerDelegate {
|
||||
groupIndex: groupIndex
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Repeater {
|
||||
id: gyroGenerator
|
||||
|
||||
@ -129,7 +113,7 @@ Control {
|
||||
}
|
||||
|
||||
Repeater {
|
||||
id: barGenerator
|
||||
id: accGenerator
|
||||
|
||||
delegate: Item {
|
||||
Layout.fillWidth: true
|
||||
@ -137,8 +121,8 @@ Control {
|
||||
Layout.minimumWidth: root.minimumWidgetSize
|
||||
Layout.minimumHeight: root.minimumWidgetSize
|
||||
|
||||
Widgets.BarDelegate {
|
||||
datasetIndex: index
|
||||
Widgets.AccelerometerDelegate {
|
||||
groupIndex: groupIndex
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
@ -160,6 +144,22 @@ Control {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Repeater {
|
||||
id: barGenerator
|
||||
|
||||
delegate: Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.minimumWidth: root.minimumWidgetSize
|
||||
Layout.minimumHeight: root.minimumWidgetSize
|
||||
|
||||
Widgets.BarDelegate {
|
||||
datasetIndex: index
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
|
Loading…
x
Reference in New Issue
Block a user