Skip to content

Commit

Permalink
qml: change peer delegate layout
Browse files Browse the repository at this point in the history
  • Loading branch information
promag committed Dec 1, 2023
1 parent 3c2d951 commit c54c973
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/qml/pages/node/Peers.qml
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ Page {
width: parent.width
}
}
contentItem: RowLayout {
spacing: 15
ColumnLayout {
contentItem: ColumnLayout {
RowLayout {
Layout.fillWidth: true
spacing: 15
CoreText {
Layout.alignment: Qt.AlignLeft
Layout.fillWidth: true
Expand All @@ -247,6 +247,14 @@ Page {
wrapMode: Text.NoWrap
horizontalAlignment: Text.AlignLeft
}
CoreText {
Layout.alignment: Qt.AlignRight
id: secondary
font.pixelSize: 18
color: delegate.stateColor
}
}
RowLayout {
CoreText {
Layout.alignment: Qt.AlignLeft
Layout.fillWidth: true
Expand All @@ -258,15 +266,6 @@ Page {
wrapMode: Text.NoWrap
horizontalAlignment: Text.AlignLeft
}
}
ColumnLayout {
Layout.fillWidth: false
CoreText {
Layout.alignment: Qt.AlignRight
id: secondary
font.pixelSize: 18
color: delegate.stateColor
}
CoreText {
Layout.alignment: Qt.AlignRight
id: quaternary
Expand Down

0 comments on commit c54c973

Please sign in to comment.