mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 14:39:06 +08:00
Don't let print info take space if invisible
This way there is a little bit more space for the text 'No time estimation available', which was previously abbreviated to 'No time estimation availa...'.
This commit is contained in:
parent
c3aca8907c
commit
8a4a1c9d49
@ -41,7 +41,7 @@ Column
|
||||
{
|
||||
left: parent.left
|
||||
right: printInformationPanel.left
|
||||
rightMargin: UM.Theme.getSize("thin_margin").height
|
||||
rightMargin: printInformationPanel.visible ? UM.Theme.getSize("thin_margin").width : 0
|
||||
}
|
||||
|
||||
Cura.IconWithText
|
||||
|
@ -12,7 +12,7 @@ UM.RecolorImage
|
||||
id: widget
|
||||
|
||||
source: UM.Theme.getIcon("info")
|
||||
width: UM.Theme.getSize("section_icon").width
|
||||
width: visible ? UM.Theme.getSize("section_icon").width : 0
|
||||
height: UM.Theme.getSize("section_icon").height
|
||||
|
||||
color: UM.Theme.getColor("icon")
|
||||
|
Loading…
x
Reference in New Issue
Block a user