mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix truncated text.
This commit is contained in:
parent
946adfb020
commit
93bafc3700
1 changed files with 2 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ Button {
|
|||
Layout.preferredHeight: mainItem.icon.height
|
||||
}
|
||||
Text {
|
||||
id: textItem
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
Layout.preferredWidth: textMetrics.advanceWidth
|
||||
|
|
@ -51,7 +52,7 @@ Button {
|
|||
TextMetrics {
|
||||
id: textMetrics
|
||||
text: mainItem.text
|
||||
font.bold: true
|
||||
font: textItem.font
|
||||
}
|
||||
}
|
||||
Item {Layout.fillWidth: true}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue