mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 20:31:56 +02:00
[ui] GraphEditor: improve alignments
Reduce usage of anchors (except centerIn/fill). Display of Next/Previous for IntSelector.
This commit is contained in:
parent
ff86a5182e
commit
48d08b1f88
4 changed files with 81 additions and 93 deletions
|
@ -388,10 +388,8 @@ Item {
|
|||
expandButton.canExpand = uigraph.canExpandForLoop(edgeMenu.currentEdge)
|
||||
}
|
||||
|
||||
contentItem: GridLayout {
|
||||
layoutDirection: Qt.LeftToRight
|
||||
columns: 2
|
||||
columnSpacing: 20
|
||||
contentItem: Row {
|
||||
spacing: 20
|
||||
|
||||
Column {
|
||||
id: listAttrColumn
|
||||
|
@ -403,13 +401,11 @@ Item {
|
|||
text: "<b>Iteration:</b>"
|
||||
|
||||
color: activePalette.text
|
||||
bottomPadding: 15
|
||||
}
|
||||
|
||||
IntSelector {
|
||||
tooltipText: "Iterations"
|
||||
width: listAttrColumn.width
|
||||
anchors.top: listAttrMenuText.bottom
|
||||
anchors.horizontalCenter: listAttrColumn.horizontalCenter
|
||||
visible: edgeMenu.currentEdge && edgeMenu.forLoop
|
||||
|
||||
// We add 1 to the index because of human readable index (starting at 1)
|
||||
|
@ -439,7 +435,7 @@ Item {
|
|||
color: activePalette.text
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Row {
|
||||
MaterialToolButton {
|
||||
font.pointSize: 13
|
||||
ToolTip.text: "Remove edge"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue