Skip to content

Commit

Permalink
Remove word wrapping from tool button
Browse files Browse the repository at this point in the history
Maybe
Fixes: #11835
  • Loading branch information
TheOneRing committed Aug 30, 2024
1 parent fc594f7 commit c3ca624
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gui/qml/AccountButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,12 @@ ToolButton {
Layout.fillHeight: true
Layout.fillWidth: true
color: control.visualFocus ? control.palette.highlight : control.palette.buttonText
// elide middle would look better but doesn't work with wrapping
elide: Text.ElideRight
font: control.font
horizontalAlignment: Text.AlignHCenter
maximumLineCount: 2
opacity: enabled ? 1.0 : 0.3
text: control.text
verticalAlignment: Text.AlignTop
wrapMode: Text.WordWrap
}
}
}

0 comments on commit c3ca624

Please sign in to comment.