mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-07 23:49:01 +08:00
Remove unused fontMetrics objects
CURA-8762
This commit is contained in:
parent
ac6375d17b
commit
a36fedabe5
@ -101,8 +101,8 @@ Window
|
|||||||
// Search & Top-Level Tabs
|
// Search & Top-Level Tabs
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
Layout.preferredHeight: childrenRect.height
|
implicitHeight: childrenRect.height
|
||||||
Layout.preferredWidth: parent.width - 2 * UM.Theme.getSize("default_margin").width
|
implicitWidth: parent.width - 2 * UM.Theme.getSize("default_margin").width
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
RowLayout
|
RowLayout
|
||||||
{
|
{
|
||||||
@ -113,7 +113,7 @@ Window
|
|||||||
Cura.SearchBar
|
Cura.SearchBar
|
||||||
{
|
{
|
||||||
id: searchBar
|
id: searchBar
|
||||||
Layout.preferredHeight: UM.Theme.getSize("button_icon").height
|
implicitHeight: UM.Theme.getSize("button_icon").height
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
onTextEdited: searchStringChanged(text)
|
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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user