mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 19:29:09 +08:00
Remove catalog from Textfield
The creation of the catalog is rather slow, so it's better not to create it for every component
This commit is contained in:
parent
eb7ab657fe
commit
13227249b5
@ -13,7 +13,7 @@ Item
|
|||||||
|
|
||||||
property alias text: textField.text
|
property alias text: textField.text
|
||||||
|
|
||||||
signal editingFinished();
|
signal editingFinished()
|
||||||
|
|
||||||
property bool readOnly: false
|
property bool readOnly: false
|
||||||
|
|
||||||
|
@ -17,8 +17,6 @@ TextField
|
|||||||
|
|
||||||
property alias leftIcon: iconLeft.source
|
property alias leftIcon: iconLeft.source
|
||||||
|
|
||||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
|
||||||
|
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user