[ui] Graph Editor: With the Auto-Layout Depth setting moved to the graph editor menu, the quick setting in the floating pane is removed

This commit is contained in:
waaake 2025-01-15 09:14:33 +05:30
parent a843486996
commit c9b85ce137

View file

@ -1057,41 +1057,6 @@ Item {
onClicked: uigraph.layout.reset()
}
// Separator
Rectangle {
Layout.fillHeight: true
Layout.margins: 2
implicitWidth: 1
color: activePalette.window
}
// Settings
MaterialToolButton {
text: MaterialIcons.settings
font.pointSize: 11
onClicked: menu.open()
Menu {
id: menu
y: -height
padding: 4
RowLayout {
spacing: 2
Label {
padding: 2
text: "Auto-Layout Depth:"
}
ComboBox {
flat: true
model: ['Minimum', 'Maximum']
implicitWidth: 85
currentIndex: uigraph ? uigraph.layout.depthMode : -1
onActivated: {
uigraph.layout.depthMode = currentIndex
}
}
}
}
}
// Separator
Rectangle {
Layout.fillHeight: true