mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Fix some minor layout issues
CURA-6011
This commit is contained in:
parent
aa0c8c75ee
commit
be9d35d45f
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,6 @@ ListView
|
||||||
{
|
{
|
||||||
id: listView
|
id: listView
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
width: 200
|
|
||||||
model: Cura.PrintersModel {}
|
model: Cura.PrintersModel {}
|
||||||
section.property: "hasRemoteConnection"
|
section.property: "hasRemoteConnection"
|
||||||
|
|
||||||
|
@ -19,6 +18,7 @@ ListView
|
||||||
{
|
{
|
||||||
text: section == "true" ? catalog.i18nc("@label", "Connected printers") : catalog.i18nc("@label", "Preset printers")
|
text: section == "true" ? catalog.i18nc("@label", "Connected printers") : catalog.i18nc("@label", "Preset printers")
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
height: visible ? contentHeight + 2 * UM.Theme.getSize("default_margin").height : 0
|
||||||
leftPadding: UM.Theme.getSize("default_margin").width
|
leftPadding: UM.Theme.getSize("default_margin").width
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue