mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-30 16:25:35 +00:00
fix(StatusChatInfoButton): fix vertical title alignment
do not display the subtitle when it's empty
This commit is contained in:
parent
8df06ef463
commit
060b98a74d
@ -143,6 +143,7 @@ Button {
|
|||||||
StatusSelectableText {
|
StatusSelectableText {
|
||||||
Layout.fillWidth: implicitWidth + separator.width + pinIcon.width + pinText.width > subtitleRow.width
|
Layout.fillWidth: implicitWidth + separator.width + pinIcon.width + pinText.width > subtitleRow.width
|
||||||
text: root.subTitle
|
text: root.subTitle
|
||||||
|
visible: root.subTitle
|
||||||
color: Theme.palette.baseColor1
|
color: Theme.palette.baseColor1
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
onLinkActivated: root.linkActivated(link)
|
onLinkActivated: root.linkActivated(link)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user