Commit graph

4346 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
0bcdefeb00
Update CHANGELOG 2024-02-10 00:40:52 +01:00
Héctor Ramón Jiménez
6600f66cbd
Fix style in solar_system example 2024-02-10 00:39:31 +01:00
Héctor Ramón Jiménez
8a8c1ab2c8
Log available formats and alpha modes in wgpu:🪟:compositor 2024-02-10 00:38:25 +01:00
Héctor Ramón Jiménez
81bed94148
Use custom Application::style to enable transparency 2024-02-10 00:32:03 +01:00
Daniel Yoon
712c8e53f2
Fix alpha mode configuration in iced_wgpu 2024-02-10 00:24:41 +01:00
Héctor Ramón
7ee00e751a
Merge pull request #2229 from clarkmoody/custom-qr-style
QR Code Styling
2024-02-10 00:12:54 +01:00
Héctor Ramón Jiménez
564ad95806
Fix leftover mentions of State in QRCode docs 2024-02-10 00:02:17 +01:00
Héctor Ramón Jiménez
8b14f88f5f
Update CHANGELOG 2024-02-09 23:59:43 +01:00
Héctor Ramón Jiménez
b535f7ae38
Invalidate QRCode cache on Appearance change 2024-02-09 23:57:11 +01:00
Clark Moody
4c6ea3cfe2
Update qr_code example with theme selector 2024-02-09 23:47:09 +01:00
Clark Moody
c2d82833a0
Styling for QR Code using theme framework 2024-02-09 23:43:01 +01:00
Héctor Ramón Jiménez
99a3f25c5f
Update async-tungstenite dependency in websocket example 2024-02-09 23:42:36 +01:00
Héctor Ramón
7a20c8640f
Merge pull request #2228 from jhannyj/better-tooltips
Refactor tooltip function to accept a generic element as a tooltip
2024-02-09 02:24:53 +01:00
Héctor Ramón Jiménez
c53c3a71d3
Rename text_layout to tooltip_layout in Tooltip 2024-02-09 02:14:24 +01:00
Héctor Ramón Jiménez
61547e10ad
Update CHANGELOG 2024-02-09 02:12:56 +01:00
Héctor Ramón Jiménez
a82cc783d9
Improve tooltip docs 2024-02-09 02:12:22 +01:00
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