mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Fix horizontal scrolling/flicking of materialview
(probably windows-only)
This commit is contained in:
parent
4ba8b4e7c8
commit
c48f02a7eb
@ -40,6 +40,7 @@ TabView
|
|||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
|
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
|
||||||
|
flickableItem.flickableDirection: Flickable.VerticalFlick
|
||||||
|
|
||||||
Flow
|
Flow
|
||||||
{
|
{
|
||||||
@ -219,12 +220,12 @@ TabView
|
|||||||
onEditingFinished: base.setMetaDataEntry("adhesion_info", properties.adhesion_info, text)
|
onEditingFinished: base.setMetaDataEntry("adhesion_info", properties.adhesion_info, text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateCostPerMeter()
|
function updateCostPerMeter()
|
||||||
{
|
{
|
||||||
base.spoolLength = calculateSpoolLength(diameterSpinBox.value, densitySpinBox.value, spoolWeightSpinBox.value);
|
base.spoolLength = calculateSpoolLength(diameterSpinBox.value, densitySpinBox.value, spoolWeightSpinBox.value);
|
||||||
base.costPerMeter = calculateCostPerMeter(spoolCostSpinBox.value);
|
base.costPerMeter = calculateCostPerMeter(spoolCostSpinBox.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user