Héctor Ramón Jiménez
cb9000ea2a
Use simple method call syntax in Tooltip
2024-02-09 02:11:24 +01:00
jhannyj
6bafdc4b3c
Add support for a generic Element in Tooltip
2024-02-09 02:10:07 +01:00
Héctor Ramón
073466708e
Merge pull request #2227 from wyatt-herkamp/update_depends
...
Update Dependencies.
2024-02-09 02:06:31 +01:00
Héctor Ramón Jiménez
d3043161cf
Update CHANGELOG
2024-02-09 01:55:26 +01:00
Wyatt Herkamp
149e8b4103
Update some dependencies
2024-02-09 01:53:34 +01:00
Héctor Ramón
111c8bfa79
Merge pull request #2221 from Dworv/text-shrink
...
Text editor shrinking to content
2024-02-07 22:00:53 +01:00
Héctor Ramón Jiménez
4d7356e5e4
Update CHANGELOG
2024-02-07 21:50:09 +01:00
Héctor Ramón Jiménez
2ba73b0faf
Fix wrapped lines not being considered when measuring TextEditor
2024-02-07 21:48:28 +01:00
Dworv YT
8b492a9b44
feat: text-editor can shrink to content
2024-02-07 21:28:45 +01:00
Héctor Ramón
5630febf96
Merge pull request #2220 from DoomDuck/faster_image_bytes_handle
...
Use `core::ptr::eq` to speed up `PartialEq` on `image::Bytes`
2024-02-07 20:39:39 +01:00
Héctor Ramón
80081f0f1c
Merge pull request #2219 from GyulyVGC/toggler-border-width
...
Add border widths to `Toggler` `StyleSheet`
2024-02-07 20:38:47 +01:00
Héctor Ramón Jiménez
d6aea09646
Update CHANGELOG
2024-02-07 20:33:15 +01:00
DoomDuck
d838d8e3ad
image::Bytes::PartialEq: use core::ptr::eq to speed up comparison
2024-02-07 20:32:15 +01:00
Héctor Ramón Jiménez
cecfa1c467
Update CHANGELOG
2024-02-07 20:30:18 +01:00
Giuliano Bellini s294739
ae3f5ba1a3
add border widths to toggler stylesheet
2024-02-07 20:29:24 +01:00
Héctor Ramón
80a29a277e
Merge pull request #2214 from dtzxporter/workaround-winit-win32-issues
...
Workaround issue with winit on windows not resuming the event loop.
2024-02-07 19:50:46 +01:00
Héctor Ramón Jiménez
a631f4d745
Remove allow(unused_mut) in winit::application
2024-02-07 19:42:55 +01:00
Héctor Ramón Jiménez
518ec52ebd
Update CHANGELOG
2024-02-07 19:37:00 +01:00
dtzxporter
66823e9a65
Emulate AboutToWait event on Windows while resizing
...
More details: https://github.com/rust-windowing/winit/issues/3272
2024-02-07 19:33:01 +01:00
Héctor Ramón
b4dcf4ecf7
Merge pull request #2210 from MoSal/glyph_cache_capacity_limit
...
tiny_skia: Add a capacity limit to `GlyphCache`
2024-02-07 14:40:44 +01:00
Héctor Ramón Jiménez
9c977116ed
Update CHANGELOG
2024-02-07 14:28:51 +01:00
Mohammad AlSaleh
5bd93181f3
tiny_skia: Add a capacity limit to GlyphCache
...
* Trim the cache if `recently_used` size reaches the limit, even if a
trim interval hasn't passed.
* Shrink `entries` and `recently_used` to the limit when trimming.
Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-02-07 14:27:35 +01:00
Héctor Ramón
bdd1891f43
Merge pull request #2207 from VAWVAW/mouse-area-interaction
...
Add `Interaction` overriding to `MouseArea`
2024-02-07 12:20:45 +01:00
Héctor Ramón Jiménez
d5a3e599b3
Update CHANGELOG
2024-02-07 12:06:34 +01:00
Héctor Ramón Jiménez
8b22e0ebbc
Shorten properties in MouseArea
2024-02-07 12:05:47 +01:00
Héctor Ramón Jiménez
ab3aa77ebe
Update CHANGELOG
2024-02-07 12:03:15 +01:00
Héctor Ramón Jiménez
fef6fca369
Shorten some MouseArea methods
2024-02-07 12:02:56 +01:00
Héctor Ramón Jiménez
d756a9210a
Override MouseArea interaction only when contents are idle
2024-02-07 12:00:33 +01:00
vawvaw
bcdfbf4871
Add Interaction overriding to MouseArea
...
Add the ability to use a custom `iced:🐭 :Interaction` for a
`iced::widget::MouseArea`.
2024-02-07 11:56:43 +01:00
Héctor Ramón
d3619b5f69
Merge pull request #2200 from dtzxporter/run-window-callback
...
Provide native window access, via "fetch_native_handle" method on window.
2024-02-07 10:40:06 +01:00
Héctor Ramón Jiménez
2a3778daa3
Pin web-sys dependency to 0.3.67 for now
...
Context: https://github.com/rustwasm/wasm-bindgen/issues/3834
2024-02-07 10:32:47 +01:00
Héctor Ramón Jiménez
dea9800503
Update CHANGELOG
2024-02-07 09:52:23 +01:00
Héctor Ramón Jiménez
2a544dca2f
Fix documentation of Action::RunWithHandle
2024-02-07 09:49:19 +01:00
Héctor Ramón Jiménez
f18a81451f
Rename fetch_native_handle to run_with_handle in window
2024-02-07 09:47:15 +01:00
dtzxporter
7105992228
Re-implement against latest iced master. Rename FetchNativeHandle.
2024-02-07 09:35:13 +01:00
Héctor Ramón
6f97b62457
Merge pull request #2188 from fogarecious/add_doc
...
Add doc to direct developers to enable features for iced::time::every
2024-02-06 00:51:43 +01:00
Héctor Ramón Jiménez
12ea2a18a5
Update CHANGELOG
2024-02-06 00:41:10 +01:00
fogarecious
1cd22bb6a2
Fix missing feature flag docs for time::every
2024-02-06 00:39:47 +01:00
Héctor Ramón
cb2c8dd86e
Merge pull request #2174 from hicaru/list_picker_events
...
List picker events
2024-02-06 00:29:45 +01:00
Héctor Ramón Jiménez
79b80fafb8
Update CHANGELOG
2024-02-06 00:11:31 +01:00
Héctor Ramón Jiménez
59a79e55d4
Rename PickList handlers for consistency
2024-02-06 00:10:54 +01:00
Rinat
6cf7c4645d
Add on_opened and on_closed handlers for PickList
2024-02-06 00:10:54 +01:00
Héctor Ramón
b5b267c31c
Merge pull request #2235 from fogarecious/add-from-pathbuf-to-svg-handle
...
Make the svg function to accept a path
2024-02-06 00:05:08 +01:00
Héctor Ramón Jiménez
f2e904f348
Update CHANGELOG
2024-02-05 23:53:51 +01:00
fogarecious
7bd849199c
Add From<PathBuf> to Svg Handle
2024-02-05 23:52:04 +01:00
Héctor Ramón
8e76d53803
Merge pull request #2237 from iced-rs/fix/mapped-subscription-id
...
Use `TypeId` to identify `subscription::Map`
2024-02-05 22:05:14 +01:00
Héctor Ramón Jiménez
2fb271a976
Remove redundant id field in subscription::Map
2024-02-05 21:39:03 +01:00
Héctor Ramón Jiménez
35bbee501f
Update CHANGELOG
2024-02-05 21:37:13 +01:00
Héctor Ramón Jiménez
2470a3fb40
Assert closure provided to Subscription::map is non-capturing
2024-02-05 21:34:35 +01:00
Héctor Ramón Jiménez
f39a5fd895
Use TypeId to identify subscription::Map
2024-02-05 00:52:16 +01:00