Spell like an American
This commit is contained in:
@@ -24,8 +24,8 @@ QQC2.ItemDelegate {
|
|||||||
anchors.leftMargin: Kirigami.Units.largeSpacing
|
anchors.leftMargin: Kirigami.Units.largeSpacing
|
||||||
anchors.rightMargin: Kirigami.Units.largeSpacing
|
anchors.rightMargin: Kirigami.Units.largeSpacing
|
||||||
|
|
||||||
state: Config.compactLayout ? "alignLeft" : "alignCentre"
|
state: Config.compactLayout ? "alignLeft" : "alignCenter"
|
||||||
// Align left when in compact mode and centre when using bubbles
|
// Align left when in compact mode and center when using bubbles
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
name: "alignLeft"
|
name: "alignLeft"
|
||||||
@@ -36,7 +36,7 @@ QQC2.ItemDelegate {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
State {
|
State {
|
||||||
name: "alignCentre"
|
name: "alignCenter"
|
||||||
AnchorChanges {
|
AnchorChanges {
|
||||||
target: readMarkerDelegate
|
target: readMarkerDelegate
|
||||||
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ QQC2.ItemDelegate {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
state: Config.compactLayout ? "alignLeft" : "alignCentre"
|
state: Config.compactLayout ? "alignLeft" : "alignCenter"
|
||||||
// Align left when in compact mode and centre when using bubbles
|
// Align left when in compact mode and center when using bubbles
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
name: "alignLeft"
|
name: "alignLeft"
|
||||||
@@ -75,7 +75,7 @@ QQC2.ItemDelegate {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
State {
|
State {
|
||||||
name: "alignCentre"
|
name: "alignCenter"
|
||||||
AnchorChanges {
|
AnchorChanges {
|
||||||
target: messageDelegate
|
target: messageDelegate
|
||||||
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user