mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Add fixed width to the preview button
Doing that, the elide will work. Also increase the size of the panel a bit so it will fit better in other languages. Adding also the tooltip in case the text is too long in other languages.
This commit is contained in:
parent
4ab123eb87
commit
cbd8e72bd5
2 changed files with 3 additions and 1 deletions
|
@ -120,6 +120,8 @@ Column
|
|||
|
||||
height: UM.Theme.getSize("action_button").height
|
||||
text: catalog.i18nc("@button", "Preview")
|
||||
tooltip: text
|
||||
fixedWidthMode: true
|
||||
|
||||
onClicked: UM.Controller.setActiveStage("PreviewStage")
|
||||
visible: UM.Controller.activeStage != null && UM.Controller.activeStage.stageId != "PreviewStage"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue