Add elide in the showcase title and reduce the height a bit so there are

only 2 lines for the title.
This commit is contained in:
Diego Prado Gesto 2018-12-17 17:29:24 +01:00
parent 1440c7d996
commit d6212d5a39
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ Rectangle
height: UM.Theme.getSize("toolbox_heading_label").height height: UM.Theme.getSize("toolbox_heading_label").height
width: parent.width - UM.Theme.getSize("default_margin").width width: parent.width - UM.Theme.getSize("default_margin").width
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
elide: Text.ElideRight
font: UM.Theme.getFont("medium_bold") font: UM.Theme.getFont("medium_bold")
} }
UM.RecolorImage UM.RecolorImage

View File

@ -495,7 +495,7 @@
"toolbox_back_button": [4.0, 2.0], "toolbox_back_button": [4.0, 2.0],
"toolbox_installed_tile": [1.0, 8.0], "toolbox_installed_tile": [1.0, 8.0],
"toolbox_property_label": [1.0, 2.0], "toolbox_property_label": [1.0, 2.0],
"toolbox_heading_label": [1.0, 4.0], "toolbox_heading_label": [1.0, 3.8],
"toolbox_header": [1.0, 4.0], "toolbox_header": [1.0, 4.0],
"toolbox_header_highlight": [0.25, 0.25], "toolbox_header_highlight": [0.25, 0.25],
"toolbox_progress_bar": [8.0, 0.5], "toolbox_progress_bar": [8.0, 0.5],