Commit graph

3107 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
927c3a8caa
Reuse text_bounds in text_input::layout 2023-04-11 05:59:20 +02:00
Héctor Ramón Jiménez
45015e37d4
Fix current step in tour 2023-04-11 05:57:31 +02:00
Héctor Ramón Jiménez
aa0be30656
Move ICON_FONT constant in tour to text_input helper 2023-04-11 05:57:01 +02:00
Héctor Ramón Jiménez
c794d8ba78
Collapse Font import in tour example 2023-04-11 05:56:34 +02:00
Héctor Ramón Jiménez
cf9d8e0104
Rename IconPosition to Side in text_input 2023-04-11 05:54:51 +02:00
Héctor Ramón Jiménez
57265ff211
Move Icon definitions after Widget implementation 2023-04-11 05:53:22 +02:00
Héctor Ramón Jiménez
870b2fe513
Derive Debug for text_input::Icon 2023-04-11 05:48:12 +02:00
Héctor Ramón Jiménez
9852b4b364
Move Icon layout logic to layout in text_input
Also add `Icon::spacing` field.
2023-04-11 05:46:14 +02:00
Héctor Ramón Jiménez
0e2fc99eb8
Use f32 for Icon::size and remove unnecessary conversions 2023-04-11 05:13:56 +02:00
Casper Storm
898307e9ac
Removed text_input example in favor for Tour 2023-04-11 05:11:23 +02:00
Casper Storm
d24a4a4689
Changed Handle to Icon to be consistent 2023-04-11 05:11:23 +02:00
Casper Storm
bfc5db9009
Updated handle_color for focused state 2023-04-11 05:11:23 +02:00
Casper Storm
7b36984295
feat: added handle to text_input 2023-04-11 05:11:19 +02:00
Héctor Ramón
931b30dc5a
Merge pull request #1779 from Davidster/remove_colons_from_shader_labels
remove colons from shader labels
2023-04-07 06:26:26 +02:00
Héctor Ramón
415dbde01e
Merge pull request #1782 from bq-wrongway/master
Updating Roadmap.md
2023-04-07 06:04:36 +02:00
bq_wrongway
15125c23f1
Updating Roadmap.md
I collapsed Animations because the underlying issue was resolved, and i added issue #343 to 3D Canvas widget
2023-04-05 20:00:25 +02:00
David Huculak
703484c5fd remove colons from shader labels 2023-04-01 16:10:28 -04:00
Héctor Ramón
4e409bb383
Merge pull request #1669 from GyulyVGC/master
Added scrollable style `focused` to be displayed when mouse is over the scrollable area
2023-03-27 16:17:02 +02:00
Héctor Ramón Jiménez
dcccf7064d
Fix inconsistency in default implementation of scrollable::StyleSheet 2023-03-27 15:57:51 +02:00
Héctor Ramón Jiménez
c407b4504c
Introduce is_mouse_over_scrollbar to StyleSheet::hovered for Scrollable 2023-03-27 15:51:32 +02:00
Giuliano Bellini s294739
c337bf297d renamed scrollable styles 2023-03-25 01:05:56 +01:00
Héctor Ramón
b74ff9f1ca
Merge pull request #1754 from nicksenger/optimization/component
[Optimization] Reduce unnecessary `Component` rebuilds
2023-03-23 12:00:37 +01:00
Héctor Ramón
be36c3f552
Merge pull request #1765 from traxys/fixup_wasm_replace
winit: Fix replacement of node in wasm
2023-03-23 11:31:59 +01:00
traxys
0231ed6f1d winit: Fix replacement of node in wasm
Replacing a node ends up with the following error:
Node.replaceChild: Child to be replaced is not a child of this node

It seems that Node.replaceChild is not recommended, and instead
Element.replaceWith should be preferred. Using it avoids the panic.
2023-03-20 00:20:45 +01:00
Nick Senger
a3f6b782a1 optimization: reduce unnecessary rebuilds in Component 2023-03-14 06:50:17 -07:00
Héctor Ramón
d7fffaa801
Merge pull request #1730 from casperstorm/feat/platform-specific-window-options
Platform specific `window` options.
2023-03-14 11:50:18 +01:00
Héctor Ramón Jiménez
4405a3d483
Re-export settings::PlatformSpecific from iced_winit directly 2023-03-14 11:31:16 +01:00
Casper Storm
ed7b613804
Added macOS platform specific options 2023-03-14 11:31:15 +01:00
Héctor Ramón
de4ae51e3c
Merge pull request #1755 from iced-rs/fix/clippy-lints-1.68
Fix `clippy` lints for Rust 1.68
2023-03-14 11:26:59 +01:00
Héctor Ramón Jiménez
1816c985fa
Fix clippy lints for Rust 1.68 2023-03-14 11:11:17 +01:00
Héctor Ramón
8f14b448d2
Merge pull request #1750 from lupd/checkbox_docs
Use correct package name in checkbox example docs
2023-03-08 19:32:40 +01:00
lupd
782c080bd0 Use correct package name in checkbox example docs 2023-03-08 12:55:52 -05:00
Héctor Ramón Jiménez
df68cca0c9
Update sysinfo to 0.28 2023-03-07 07:22:48 +01:00
Héctor Ramón
d73ca4de0f
Merge pull request #1742 from bungoboingo/fix/fullscreen
[Fix] Fullscreen only works on primary monitor
2023-03-03 21:20:11 +01:00
Héctor Ramón Jiménez
12781c717a
Expose window commands for Wasm builds 2023-03-03 20:45:49 +01:00
Bingus
a9ca89ca55
Added example of toggling fullscreen to TODOs. 2023-03-02 10:54:03 -08:00
Bingus
b2a9a1e73c
Fixed fullscreen only being possible on primary monitor. 2023-03-02 08:31:39 -08:00
Héctor Ramón
86b85d1436
Merge pull request #1735 from iced-rs/remove-alignment-fill
Remove `Fill` variant for `Alignment`
2023-02-28 16:03:05 +01:00
Héctor Ramón Jiménez
9e815cb749
Remove Fill variant for Alignment
Implementing this generically in our `flex` logic has an exponential
cost. Let's explore other options!
2023-02-27 16:54:28 +01:00
Héctor Ramón Jiménez
5f93437285
Bump version of iced_core 🎉 2023-02-25 21:43:53 +01:00
Héctor Ramón
be8102ea3b
Merge pull request #1734 from iced-rs/fix/padding-fit
Fix `Padding::fit` on irregular values for an axis
2023-02-25 21:43:32 +01:00
Héctor Ramón Jiménez
871b7e0311
Fix Padding::fit on irregular values for an axis 2023-02-25 21:28:21 +01:00
Héctor Ramón
f07fdba0b1
Merge pull request #1733 from iced-rs/update/svg-deps
Update `resvg` in `iced_graphics`
2023-02-25 15:17:46 +01:00
Héctor Ramón Jiménez
1475f5fa58
Update resvg in iced_graphics 2023-02-25 15:04:40 +01:00
Héctor Ramón
573d27eb52
Merge pull request #1731 from tarkah/fix/debug-bytes
Remove logging large bytes arrays
2023-02-23 19:38:43 +01:00
Cory Forsstrom
07a7681dba
Remove logging large bytes arrays 2023-02-23 09:31:48 -08:00
Giuliano Bellini
4f41927155
Merge branch 'iced-rs:master' into master 2023-02-22 21:23:04 +01:00
Héctor Ramón
666f3cd143
Merge pull request #1723 from iced-rs/subscription-run
Change `subscription::run` to take a function pointer
2023-02-21 21:18:01 +01:00
Héctor Ramón Jiménez
1fb413fd80
Change subscription::run to take a function pointer
... and rename the old `run` to `run_with_id`.
2023-02-21 20:56:10 +01:00
Héctor Ramón
8c83d40e11
Merge pull request #1721 from casperstorm/feat/no-bleed-slider
Sliders no longer bleed over rail
2023-02-20 14:54:54 +01:00