mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 07:44:22 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-8979_Materials_Preference_Page
This commit is contained in:
commit
f9814520f7
@ -5,6 +5,7 @@ import QtQuick 2.2
|
||||
import QtQuick.Controls 2.1
|
||||
|
||||
import Cura 1.5 as Cura
|
||||
import UM 1.5 as UM
|
||||
import ".."
|
||||
|
||||
Cura.CategoryButton
|
||||
|
@ -215,7 +215,7 @@ UM.PreferencesPage
|
||||
|
||||
textRole: "text"
|
||||
model: languageList
|
||||
implicitWidth: UM.Theme.getSize("setting_control").width
|
||||
implicitWidth: UM.Theme.getSize("combobox_wide").width
|
||||
implicitHeight: currencyField.height
|
||||
|
||||
function setCurrentIndex() {
|
||||
@ -255,7 +255,7 @@ UM.PreferencesPage
|
||||
id: currencyField
|
||||
selectByMouse: true
|
||||
text: UM.Preferences.getValue("cura/currency")
|
||||
implicitWidth: UM.Theme.getSize("setting_control").width
|
||||
implicitWidth: UM.Theme.getSize("combobox_wide").width
|
||||
onTextChanged: UM.Preferences.setValue("cura/currency", text)
|
||||
}
|
||||
|
||||
@ -284,7 +284,7 @@ UM.PreferencesPage
|
||||
|
||||
model: themeList
|
||||
textRole: "text"
|
||||
implicitWidth: UM.Theme.getSize("setting_control").width
|
||||
implicitWidth: UM.Theme.getSize("combobox_wide").width
|
||||
implicitHeight: currencyField.height
|
||||
|
||||
currentIndex:
|
||||
|
@ -84,19 +84,19 @@ Item
|
||||
Layout.maximumWidth: Math.floor(parent.width * 0.7) // Always leave >= 30% for the rest of the row.
|
||||
height: contentHeight
|
||||
elide: Text.ElideRight
|
||||
wrapMode: Text.NoWrap
|
||||
}
|
||||
|
||||
UM.Label
|
||||
{
|
||||
text: activeQualityDetailText()
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text_detail")
|
||||
Layout.margins: 0
|
||||
Layout.fillWidth: true
|
||||
|
||||
height: contentHeight
|
||||
elide: Text.ElideRight
|
||||
|
||||
wrapMode: Text.NoWrap
|
||||
function activeQualityDetailText()
|
||||
{
|
||||
var resultMap = Cura.MachineManager.activeQualityDisplayNameMap
|
||||
|
@ -134,7 +134,7 @@ Item
|
||||
id: label
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: doDepthIndentation ? Math.round(UM.Theme.getSize("thin_margin").width + ((definition.depth - 1) * UM.Theme.getSize("narrow_margin").width)) : 0
|
||||
anchors.leftMargin: doDepthIndentation ? Math.round(UM.Theme.getSize("thin_margin").width + ((definition.depth - 1) * UM.Theme.getSize("default_margin").width)) : 0
|
||||
anchors.right: settingControls.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
|
@ -27,7 +27,6 @@ infill_before_walls = False
|
||||
infill_enable_travel_optimization = False
|
||||
infill_support_angle = 50
|
||||
ironing_enabled = False
|
||||
max_skin_angle_for_expansion = 20
|
||||
retract_at_layer_change = False
|
||||
retraction_amount = 6.5
|
||||
retraction_hop_only_when_collides = True
|
||||
|
@ -27,7 +27,6 @@ infill_before_walls = False
|
||||
infill_enable_travel_optimization = False
|
||||
infill_support_angle = 50
|
||||
ironing_enabled = False
|
||||
max_skin_angle_for_expansion = 20
|
||||
retract_at_layer_change = False
|
||||
retraction_amount = 6.5
|
||||
retraction_hop_only_when_collides = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user