11 Commits

Author SHA1 Message Date
Ghostkeeper
3d6601a37e
Fix margins
The margin around the icon didn't work if the icon source was none, because it was provided a QSize rather than a real.
The margin around the background didn't work at all because the background is automatically adjusted to fill the parent element, so it's best left out.

Contributes to issue CURA-8009.
2021-07-13 16:04:01 +02:00
Ghostkeeper
bec83920e4
Keep showing search icon while typing search query
This adds an option to the TextField element to show an icon on the left side in the text field. The icon remains visible when the user types in something (it's not part of the placeholder string).
Then we use that optional icon for the search bar in the Digital Library.

Contributes to issue CURA-8009.
2021-07-13 15:47:21 +02:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump" 2021-03-30 09:48:28 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +02:00
Lipu Fei
904a8ab26c Fix theming
CURA-6435
2019-04-17 09:18:08 +02:00
Lipu Fei
0665076018 Fix merge conflicts 2019-04-10 10:42:51 +02:00
Lipu Fei
0e49d3dc12
Merge branch 'master' into CURA-6435_new_style_add_machine 2019-04-10 09:06:55 +02:00
Jaime van Kessel
f5ef6aed8d Make textfield use states
CURA-6435
2019-04-08 17:10:36 +02:00
Lipu Fei
b1fe110f9f Add Cura.TextField
CURA-6435
CURA-6057
2019-04-08 12:27:32 +02:00
Lipu Fei
b0fd6628a5 Make sure that printer name is not empty
CURA-6435
2019-04-05 09:35:02 +02:00
Lipu Fei
76947df6c1 Add Cura.TextField
CURA-6435
2019-04-05 09:09:00 +02:00