Merge branch 'master' of github.com:Ultimaker/Cura

This commit is contained in:
Jack Ha 2018-02-15 13:53:53 +01:00
commit 1551560a6b
6 changed files with 12 additions and 11 deletions

View File

@ -11,8 +11,8 @@ import UM 1.1 as UM
UM.Dialog
{
id: base
minimumWidth: (UM.Theme.getSize("modal_window_minimum").width * 0.75) | 0
minimumHeight: (UM.Theme.getSize("modal_window_minimum").height * 0.75) | 0
minimumWidth: Math.round(UM.Theme.getSize("modal_window_minimum").width * 0.75) | 0
minimumHeight: Math.round(UM.Theme.getSize("modal_window_minimum").height * 0.75) | 0
width: minimumWidth
height: minimumHeight
title: catalog.i18nc("@label", "Changelog")

View File

@ -22,8 +22,8 @@ UM.Dialog
Image
{
id: logo
width: (base.minimumWidth * 0.85) | 0
height: (width * (1/4.25)) | 0
width: Math.round(base.minimumWidth * 0.85) | 0
height: Math.round(width * (1/4.25)) | 0
source: UM.Theme.getImage("logo")

View File

@ -160,7 +160,7 @@ UM.ManagementPage
}
Label
{
width: (parent.width * 0.7) | 0
width: Math.round(parent.width * 0.7) | 0
text: machineInfo.printerConnected ? machineInfo.connectedPrinter.connectionText : catalog.i18nc("@info:status", "The printer is not connected.")
visible: base.currentItem && base.currentItem.id == Cura.MachineManager.activeMachineId
wrapMode: Text.WordWrap
@ -171,7 +171,7 @@ UM.ManagementPage
visible: base.currentItem && base.currentItem.id == Cura.MachineManager.activeMachineId && machineInfo.printerAcceptsCommands
}
Label {
width: (parent.width * 0.7) | 0
width: Math.round(parent.width * 0.7) | 0
text:
{
if(!machineInfo.printerConnected || !machineInfo.printerAcceptsCommands) {

View File

@ -51,14 +51,14 @@ Tab
{
role: "label"
title: catalog.i18nc("@title:column", "Setting")
width: (parent.width * 0.4) | 0
width: Math.round(parent.width * 0.4) | 0
delegate: itemDelegate
}
TableViewColumn
{
role: "profile_value"
title: catalog.i18nc("@title:column", "Profile")
width: (parent.width * 0.18) | 0
width: Math.round(parent.width * 0.18) | 0
delegate: itemDelegate
}
TableViewColumn
@ -66,14 +66,14 @@ Tab
role: "user_value"
title: catalog.i18nc("@title:column", "Current");
visible: quality == Cura.MachineManager.globalQualityId
width: (parent.width * 0.18) | 0
width: Math.round(parent.width * 0.18) | 0
delegate: itemDelegate
}
TableViewColumn
{
role: "unit"
title: catalog.i18nc("@title:column", "Unit")
width: (parent.width * 0.14) | 0
width: Math.round(parent.width * 0.14) | 0
delegate: itemDelegate
}

View File

@ -126,6 +126,7 @@ Rectangle
{
id: settingsModeLabel
text: !hideSettings ? catalog.i18nc("@label:listbox", "Print Setup") : catalog.i18nc("@label:listbox", "Print Setup disabled\nG-code files cannot be modified")
renderType: Text.NativeRendering
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width
anchors.top: hideSettings ? machineSelection.bottom : headerSeparator.bottom

View File

@ -33,7 +33,7 @@ multiple_mesh_overlap = 0
prime_tower_enable = False
prime_tower_size = 16
prime_tower_wipe_enabled = True
retraction_count_max = 6
retraction_count_max = 45
retraction_extra_prime_amount = 0.2
retraction_extrusion_window = 6.5
retraction_hop = 2