Skip to content

Commit

Permalink
modified layout to support long country names (#3272)
Browse files Browse the repository at this point in the history
* modified layout to support long country names

* use elide for fix - remove extra props
  • Loading branch information
lloan authored Apr 6, 2022
1 parent fd74279 commit b64370c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions nebula/ui/components/VPNConnectionInfoItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,19 @@ RowLayout {
id: itemLabel
color: VPNTheme.theme.white
text: infoStatusItem.title

Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true
elide: Text.ElideRight
}

VPNInterLabel {
id: itemValue

color: VPNTheme.colors.white
text: infoStatusItem.subtitle

Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
horizontalAlignment: Text.AlignRight

Layout.alignment: Qt.AlignRight | Qt. AlignVCenter
}
}

0 comments on commit b64370c

Please sign in to comment.