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:
authorJaime van Kessel <nallath@gmail.com>2022-02-22 17:53:07 +0300
committerJaime van Kessel <nallath@gmail.com>2022-02-22 17:53:07 +0300
commita36fedabe5a7aa3a6abec462905f16ee6c51a678 (patch)
tree5f02f579f6ac3c9c77444d105ccdd1acf1b4ad91 /plugins/Marketplace/resources
parentac6375d17bec0f73663e16851b7a6931cffa9531 (diff)
Remove unused fontMetrics objects
CURA-8762
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/Marketplace.qml19
1 files changed, 3 insertions, 16 deletions
diff --git a/plugins/Marketplace/resources/qml/Marketplace.qml b/plugins/Marketplace/resources/qml/Marketplace.qml
index e02995b1da..5a30141b32 100644
--- a/plugins/Marketplace/resources/qml/Marketplace.qml
+++ b/plugins/Marketplace/resources/qml/Marketplace.qml
@@ -101,8 +101,8 @@ Window
// Search & Top-Level Tabs
Item
{
- Layout.preferredHeight: childrenRect.height
- Layout.preferredWidth: parent.width - 2 * UM.Theme.getSize("default_margin").width
+ implicitHeight: childrenRect.height
+ implicitWidth: parent.width - 2 * UM.Theme.getSize("default_margin").width
Layout.alignment: Qt.AlignHCenter
RowLayout
{
@@ -113,7 +113,7 @@ Window
Cura.SearchBar
{
id: searchBar
- Layout.preferredHeight: UM.Theme.getSize("button_icon").height
+ implicitHeight: UM.Theme.getSize("button_icon").height
Layout.fillWidth: true
onTextEdited: searchStringChanged(text)
}
@@ -174,19 +174,6 @@ Window
}
}
}
-
- TextMetrics
- {
- id: pluginTabTextMetrics
- text: pluginTabText.text
- font: pluginTabText.font
- }
- TextMetrics
- {
- id: materialsTabTextMetrics
- text: materialsTabText.text
- font: materialsTabText.font
- }
}
}