mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-30 02:37:26 +02:00
[ui] minor UI tweaks
This commit is contained in:
parent
c190f418b7
commit
e053bb0f45
3 changed files with 5 additions and 4 deletions
|
@ -27,7 +27,7 @@ ColumnLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
clip: true
|
clip: true
|
||||||
spacing: 4
|
spacing: 4
|
||||||
ScrollBar.vertical: ScrollBar {}
|
ScrollBar.vertical: ScrollBar { id: scrollBar }
|
||||||
|
|
||||||
model: node ? node.attributes : undefined
|
model: node ? node.attributes : undefined
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ ColumnLayout {
|
||||||
|
|
||||||
AttributeItemDelegate {
|
AttributeItemDelegate {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.rightMargin: scrollBar.width
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
attribute: object
|
attribute: object
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,6 @@ Item {
|
||||||
node: object
|
node: object
|
||||||
width: root.nodeWidth
|
width: root.nodeWidth
|
||||||
height: Math.max(root.nodeHeight, implicitHeight)
|
height: Math.max(root.nodeHeight, implicitHeight)
|
||||||
radius: 1
|
|
||||||
border.color: root.selectedNode == node ? Qt.darker(color, 1.8) : Qt.darker(color, 1.1)
|
border.color: root.selectedNode == node ? Qt.darker(color, 1.8) : Qt.darker(color, 1.1)
|
||||||
|
|
||||||
onAttributePinCreated: registerAttributePin(attribute, pin)
|
onAttributePinCreated: registerAttributePin(attribute, pin)
|
||||||
|
|
|
@ -14,7 +14,7 @@ Rectangle {
|
||||||
|
|
||||||
color: baseColor
|
color: baseColor
|
||||||
opacity: 0.9
|
opacity: 0.9
|
||||||
|
radius: 2
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
drag.target: parent
|
drag.target: parent
|
||||||
|
@ -69,7 +69,8 @@ Rectangle {
|
||||||
ListView {
|
ListView {
|
||||||
id: chunksListView
|
id: chunksListView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 1
|
anchors.topMargin: 1
|
||||||
|
anchors.bottomMargin: 1
|
||||||
interactive: false
|
interactive: false
|
||||||
orientation: Qt.Horizontal
|
orientation: Qt.Horizontal
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue