Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2019-01-24 23:56:22 +0300
committerRemco Burema <r.burema@ultimaker.com>2019-01-24 23:56:57 +0300
commit7fdbb11f492e00ec75dfcf8037a00aad75b94799 (patch)
tree71a1985cd59945626ab8ddb5a111aa0c877ed104 /resources/qml/ActionPanel
parent654cd8e645722e2cdcd2c45eb70acf1f8b7e3499 (diff)
MaterialInfo: Put height and fonts by QML-elements for 'by material-type'. [CURA-6141]
Diffstat (limited to 'resources/qml/ActionPanel')
-rw-r--r--resources/qml/ActionPanel/PrintJobInformation.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/qml/ActionPanel/PrintJobInformation.qml b/resources/qml/ActionPanel/PrintJobInformation.qml
index 7b6d70d80b..daac6e0a19 100644
--- a/resources/qml/ActionPanel/PrintJobInformation.qml
+++ b/resources/qml/ActionPanel/PrintJobInformation.qml
@@ -140,16 +140,16 @@ Column
Repeater
{
model: byMaterialType.getMaterialTable()
-
Row
{
- //property var rowLength: modelData.length
Repeater
{
model: modelData
Text
{
width: Math.round(byMaterialType.width * byMaterialType.columnWidthMultipliers[index])
+ height: contentHeight
+ font: UM.Theme.getFont("default")
wrapMode: Text.WrapAnywhere
text: modelData
}
@@ -159,6 +159,7 @@ Column
}
width: parent.width - 2 * UM.Theme.getSize("default_margin").width
+ height: childrenRect.height
color: UM.Theme.getColor("text")
font: UM.Theme.getFont("default")
renderType: Text.NativeRendering