forked from qt-creator/qt-creator
QmlDesigner: Fix alignment
Change-Id: I892c26b4c50446bc297154d160ee4514f927ccf1 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -88,7 +88,7 @@ ListView {
|
||||
height: itemDelegate.height
|
||||
color: row.textColor
|
||||
text: target ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
leftPadding: listView.rowSpacing
|
||||
@@ -99,7 +99,7 @@ ListView {
|
||||
height: itemDelegate.height
|
||||
text: targetProperty ?? ""
|
||||
color: row.textColor
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
}
|
||||
@@ -108,7 +108,7 @@ ListView {
|
||||
width: listView.rowWidth
|
||||
height: itemDelegate.height
|
||||
text: source ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: row.textColor
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
@@ -118,7 +118,7 @@ ListView {
|
||||
width: listView.rowWidth
|
||||
height: itemDelegate.height
|
||||
text: sourceProperty ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: row.textColor
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
|
@@ -90,7 +90,7 @@ ListView {
|
||||
height: itemDelegate.height
|
||||
color: row.textColor
|
||||
text: target ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
leftPadding: listView.rowSpacing
|
||||
@@ -101,7 +101,7 @@ ListView {
|
||||
height: itemDelegate.height
|
||||
color: row.textColor
|
||||
text: name ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
}
|
||||
@@ -111,7 +111,7 @@ ListView {
|
||||
height: itemDelegate.height
|
||||
color: row.textColor
|
||||
text: type ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
}
|
||||
@@ -121,7 +121,7 @@ ListView {
|
||||
height: itemDelegate.height
|
||||
color: row.textColor
|
||||
text: value ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.bold: false
|
||||
elide: Text.ElideMiddle
|
||||
}
|
||||
|
Reference in New Issue
Block a user