Skip to content

Commit

Permalink
Merge pull request #2825 from MerginMaps/fix-text-overflow-preview-panel
Browse files Browse the repository at this point in the history
Fix text overflow in preview panel
  • Loading branch information
tomasMizera authored Oct 2, 2023
2 parents ecadcff + 9d2a854 commit f62fd22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/qml/form/PreviewPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Item {
Text {
id: fieldName
text: Name
width: root.width/2
width: root.width / 2
font.pixelSize: InputStyle.fontPixelSizeNormal
color: InputStyle.fontColorBright
elide: Text.ElideRight
Expand All @@ -199,6 +199,7 @@ Item {
Text {
id: fieldValue
text: Value ? Value : ""
width: root.width / 2 - root.spacing
font.pixelSize: InputStyle.fontPixelSizeNormal
color: InputStyle.fontColor
elide: Text.ElideRight
Expand Down

0 comments on commit f62fd22

Please sign in to comment.