Commit graph

63 commits

Author SHA1 Message Date
Héctor
9e1340f36f
Merge pull request #3063 from edwloef/combo-box-click-fix
Fix `combo_box` text not getting cleared on selection
2025-11-29 14:44:23 +01:00
MYT
d5e02408bb
Add text_shaping method to combo_box widget 2025-11-20 01:08:29 +01:00
GyulyVGC
71a4dff703
Add menu_height method to pick_list and combo_box 2025-11-19 23:28:39 +01:00
Héctor Ramón Jiménez
a862290836
Rename combo_box::State methods to push and into_options 2025-11-18 23:27:09 +01:00
user
d1360c74b0
added add_option and extract_options functions to combobox and split build_matcher (the logic to build a single matcher) out from build matchers 2025-11-18 23:19:57 +01:00
edwloef
f470333242
fix combo-box text not getting cleared when clicking on selection 2025-09-24 10:31:22 +02:00
Héctor Ramón Jiménez
5796ba272e
Remove missing_debug_implementations lint 2025-09-12 05:25:09 +02:00
Héctor Ramón Jiménez
9e81c2b9e8
Merge branch 'master' into feature/test-recorder 2025-08-29 04:25:52 +02:00
Héctor Ramón Jiménez
6be707267e
Revert "Make Widget::diff mutable"
This reverts commit 497ebcd0c3.
2025-08-29 04:21:43 +02:00
Héctor Ramón Jiménez
497ebcd0c3
Make Widget::diff mutable 2025-08-20 23:14:23 +02:00
Héctor Ramón Jiménez
31bc6d48cd
Make Widget::layout and operate mutable
... and bless `responsive`!
2025-08-20 22:42:15 +02:00
Héctor Ramón Jiménez
26c9dc1709
Merge branch 'master' into feature/test-recorder 2025-08-12 22:26:43 +02:00
Héctor Ramón Jiménez
d5cd0a6de9
Fix lints for Rust 1.89 and bump MSRV to 1.88 2025-08-07 22:38:22 +02:00
Héctor Ramón Jiménez
73f5569f28
Add program::Preset and emulator::Mode 2025-06-04 19:17:11 +02:00
Héctor Ramón Jiménez
9e934fe2a7
Remove now redundant Overlay::is_over
The `mouse_interaction` method can be properly used
now to encode hover status with the `None` and `Idle`
variants.
2025-05-02 21:23:17 +02:00
edwloef
40ed7d8762
fix combo-box panic after 6034a0c 2025-04-26 18:16:24 +02:00
Héctor Ramón Jiménez
6c51a9579d
Make Overlay aware of viewport
... and unify `Image::float` and `Image::translate`
2025-04-26 02:52:57 +02:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API 2025-02-02 20:45:29 +01:00
KENZ
7db5256b72
Draft input_method support 2025-02-02 17:44:13 +01:00
Héctor Ramón Jiménez
602661372c
Fix new clippy lints 2024-12-02 19:56:27 +01:00
Héctor Ramón Jiménez
a84b328dcc
Implement reactive-rendering for combo_box 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
f02bfc3f68
Rename Widget::on_event to update 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
dcc184b01b
Replace event::Status in Widget::on_event with Shell::capture_event 2024-11-05 23:52:58 +01:00
bbb651
7a86900a45 Fix various typos
Using https://github.com/crate-ci/typos
2024-09-29 16:37:35 +03:00
Héctor Ramón Jiménez
3e6e669c4c
Show combo_box doc example in multiple places 2024-09-19 03:18:08 +02:00
Héctor Ramón Jiménez
9d9ac0ff35
Add on_open handler to combo_box widget
Co-authored-by: Wail Abou <abou.w@hotmail.com>
2024-09-13 16:38:38 +02:00
Héctor Ramón Jiménez
3a3fda83cd
Implement State::options for combo_box 2024-08-05 23:12:26 +02:00
Héctor Ramón Jiménez
3d99da805d
Implement Default for combo_box::State 2024-07-09 00:27:59 +02:00
Radovan Blažek
8c08cce6ff combo_box: Do not draw empty menu overlay
Fixes #2311
2024-04-01 21:38:58 +02:00
Héctor Ramón Jiménez
74373cb086
Make defaults of composite widgets configurable 2024-03-25 22:12:47 +01:00
Héctor Ramón Jiménez
f0ae9a0c38
Use Catalog approach for all widgets 2024-03-24 05:03:09 +01:00
Héctor Ramón Jiménez
b721fd935c
Use closures for PickList::style 2024-03-12 16:40:56 +01:00
Héctor Ramón Jiménez
d1e4049541
Use closures for TextInput::style 2024-03-12 15:35:48 +01:00
Héctor Ramón Jiménez
288025f514
Inline helper functions in widget modules 2024-03-08 13:34:36 +01:00
Héctor Ramón Jiménez
e11776055d
Make fields of Style structs public 2024-03-07 20:13:29 +01:00
Héctor Ramón Jiménez
833538ee7f
Leverage DefaultStyle traits instead of Default 2024-03-07 20:11:32 +01:00
Héctor Ramón Jiménez
905f2160e6
Move Theme type to iced_core 2024-03-07 00:14:41 +01:00
Héctor Ramón Jiménez
34e7c6593a
Use Style struct pattern instead of trait for all widgets 2024-03-06 20:30:58 +01:00
Héctor Ramón Jiménez
597a41cea7
Simplify theming for PickList, ComboBox, and Menu widgets 2024-03-06 17:08:57 +01:00
Héctor Ramón Jiménez
704ec9cb5c
Simplify theming for TextInput widget 2024-03-05 15:53:59 +01:00
Héctor Ramón Jiménez
d681aaa57e
Simplify theming for Scrollable widget 2024-03-05 04:49:07 +01:00
Héctor Ramón Jiménez
29326215cc
Simplify theming for Container widget 2024-03-05 03:48:08 +01:00
Héctor Ramón Jiménez
738aa47547
Remove position from overlay::Element 2024-02-01 01:08:21 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location 2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
d278bfd21d
Replace width and height with Widget::size 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
936d480267
Clip text to viewport bounds instead of layout bounds 2023-12-01 16:04:27 +01:00
Thomas
90bd581d8e Fix ComboBox widget panic on wasm 2023-09-10 10:18:58 +02:00
Héctor Ramón Jiménez
bc1bde0d5c
Fix ComboBox widget not displaying selection text 2023-09-10 03:36:31 +02:00