@@ -14,20 +14,78 @@ All notable changes to this project are documented in this file.
14
14
15
15
- Added animation ` direction ` property. (#6260 )
16
16
- TextInput: fix selection colors not used from style (#6326 )
17
+ - TextInput: added ` rejected ` callback
18
+ - Fixed ` changed ` callback on unused property causing compiler panic (#6331 )
19
+ - Fixed geometry constraints when they are partially infered from the content,
20
+ and partially infered from the explicit constraints (#6285 )
21
+ - Deprecated two way binding between ` in ` and ` in-out ` property (#6400 )
22
+ - TouchArea: Send cancel event and update ` pressed ` and ` has-hover ` property when ` enabled ` is set to false while pressed. (#6422 )
23
+ - Added ` font-metrics ` property to ` Text ` and ` TextInput ` . (#6047 )
24
+ - Added ` accessible-selectable ` , ` accessible-selected ` , ` accessible-enabled ` , ` accessible-position-in-set ` , and ` accessible-delegate-focus ` properties
25
+ - Emit a warning when the case of the import file differ from the case of the file that was imported (#4265 )
26
+ - Support property changed callbacks in globals (#6599 )
27
+ - PopupWindow: added ` close-policy ` property, deprecated ` close-on-click ` (#6614 )
17
28
18
29
### Widgets
19
30
20
- - Checkbox: fix text color in fluent style (#6239 )
31
+ - CheckBox: fix text color in fluent style (#6239 )
32
+ - CheckBox: remove margin in fluent and cupertino style (#6639 )
21
33
- LineEdit: fix cursor draws out of bounds (#6243 )
34
+ - TabWidget: Fix tabs overflow behavior (#6517 )
22
35
23
- ### LSP and tooling
36
+ ### Rust API
24
37
25
- - Bring the window to the front and focus when clicking on "Show preview" in the editor. (#196 )
38
+ - Added ` slint_build::compile_with_output `
39
+ - Fixed ` init=> ` callback on PopupWindow ran twice in rust generated code.
40
+ - Derive serde traits for ` PhysicalPosition ` , ` LogicalPosition ` , ` PhysicalSize ` and ` LogicalSize ` (#6534 )
41
+ - Use ` approx_eq ` to compare float in the generated code
42
+ - Added ` PlatformBuilder ` to select OpenGL API and renderer
26
43
44
+ ### C++ API
45
+
46
+ - Add ` Image::to_rgb8/to_rgba8/to_rgba8_premultiplied ` pixel buffer accessors. (#6399 )
47
+ - Added ` SharedString::size() ` (#6417 )
48
+ - cmake: support generator expression for ` SLINT_EMBED_RESOURCES ` & ` SLINT_SCALE_FACTOR `
49
+ - Adds ` _ ` to the end of identifier that would otherwise be keywords (#5613 )
50
+ - Improve float comparison in the generated code
51
+ - esp-idf: Fix vsync locking
27
52
28
53
### Node API
29
54
30
55
- Added support for enums
56
+ - Added initTranslations function (#6504 )
57
+
58
+ ### LSP and tooling
59
+
60
+ - LSP: auto-completion of changed callbacks
61
+ - LSP: preserve ` _ ` when auto-completing element identifiers (#6479 )
62
+ - live-preview: Bring the window to the front and focus when clicking on "Show preview" in the editor. (#196 )
63
+ - live-preview: On MacOS, Renamed "Quit" to "Closed" and uses cmd+w to close the window
64
+ - live-preview: don't panic if run_event_loop returns an error, show an error in the editor instead
65
+ - live-preview: Fix panic when dragging elements onto layouts
66
+ - live-preview: In the property editor, filter layout property not applicable to the selected element
67
+ - live-preview: In the property editor, visualize negative number
68
+ - live-preview: delay updating the preview
69
+ - live-preview: Reload when image resources change on disk
70
+ - live-preview: macOS: Add support for reloading via cmd+r
71
+ - Slintpad: updated monaco editor and other dependencies
72
+
73
+ ### Renderer
74
+
75
+ - Software renderer: fixed ` char-wrap ` not braking between lines
76
+ - Software renderer: fix artifact with partial drawing and rotation
77
+ - Skia: Fixed opacity not being applied to box shadows correctly (#6359 )
78
+
79
+ ### Misc
80
+
81
+ - adjusted thresholds and behavior of the SwipeGestureHandler (#6344 , #6542 , #6543 )
82
+ - Improved PopupWindow positioning: position it so it is not clipped by the window
83
+ - Window::icon is also used as big taskbar ison in Windows
84
+ - Fixed TextInput mouse cursor after left click (#6444 )
85
+ - Fixed panic in timer code (#6187 , #6505 )
86
+ - Fixed support older android (9.0)
87
+ - Android: handle properly the Destroy event (#6626 )
88
+ - Support multiple PopupWindow at the same time (#4356 )
31
89
32
90
## 1.8.0 - 2024-09-23
33
91
0 commit comments