Commit graph

3119 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
1de794aabf
Fine-tune built-in styling of disabled TextInput 2023-04-12 04:34:37 +02:00
Héctor Ramón Jiménez
6b8548869e
Remove unnecessary is_disabled check in text_input::draw
A disabled `TextInput` cannot be focused.
2023-04-12 04:25:02 +02:00
Héctor Ramón Jiménez
70e4af46aa
Improve consistency of on_input documentation 2023-04-12 04:21:58 +02:00
Héctor Ramón Jiménez
7e69cb4b18
Unfocus TextInput if it becomes disabled 2023-04-12 04:20:04 +02:00
Héctor Ramón Jiménez
250ba3a7f1
Remove text_input example 2023-04-12 04:19:54 +02:00
Héctor Ramón Jiménez
e6a93e960c
Rename on_change to on_input for TextInput 2023-04-12 04:19:45 +02:00
Dan Mishin
f10e936f00
Introduce disabled state for TextInput 2023-04-12 03:55:18 +02:00
Héctor Ramón
ca828f03f5
Merge pull request #1786 from iced-rs/feature/subscription-channel
`channel` helper for `subscription`
2023-04-11 20:24:38 +02:00
Héctor Ramón Jiménez
0ed54346b0
Use Result::is_err in websocket example 2023-04-11 07:53:26 +02:00
Héctor Ramón Jiménez
5908205a62
Use 127.0.0.1 instead of localhost in websocket example 2023-04-11 07:48:30 +02:00
Héctor Ramón Jiménez
ae7e6b3d48
Implement subscription::channel and simplify unfold 2023-04-11 07:46:54 +02:00
Héctor Ramón
ff24f9040c
Merge pull request #1702 from casperstorm/feat/text_input_handle
Added `Icon` to `text_input`
2023-04-11 06:18:52 +02:00
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