mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Make elements retain their position if hotend or material is missing
Just a space makes it keep the correct height. Contributes to issue CURA-5876.
This commit is contained in:
parent
609f07399e
commit
956741922d
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ Row
|
|||
id: information
|
||||
Label
|
||||
{
|
||||
text: printCoreConfiguration.material.brand
|
||||
text: printCoreConfiguration.material.brand ? printCoreConfiguration.material.brand : " " //Use space so that the height is still correct.
|
||||
renderType: Text.NativeRendering
|
||||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
|
@ -41,7 +41,7 @@ Row
|
|||
}
|
||||
Label
|
||||
{
|
||||
text: printCoreConfiguration.material.name
|
||||
text: printCoreConfiguration.material.name ? printCoreConfiguration.material.name : " " //Use space so that the height is still correct.
|
||||
renderType: Text.NativeRendering
|
||||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
|
@ -49,7 +49,7 @@ Row
|
|||
}
|
||||
Label
|
||||
{
|
||||
text: printCoreConfiguration.hotendID
|
||||
text: printCoreConfiguration.hotendID ? printCoreConfiguration.hotendID : " " //Use space so that the height is still correct.
|
||||
renderType: Text.NativeRendering
|
||||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue