WIP: Show full name of network printer types

This commit is contained in:
Lipu Fei 2019-03-13 13:03:41 +01:00
parent de9f6f47bd
commit 764f7281c2
4 changed files with 30 additions and 7 deletions

View file

@ -12,7 +12,9 @@ Item
{
property alias text: printerTypeLabel.text
width: UM.Theme.getSize("printer_type_label").width
property bool autoFit: false
width: autoFit ? (printerTypeLabel.width + UM.Theme.getSize("default_margin").width) : UM.Theme.getSize("printer_type_label").width
height: UM.Theme.getSize("printer_type_label").height
Rectangle