Commit graph

80 commits

Author SHA1 Message Date
Héctor
e163333161
Merge pull request #2912 from edwloef/container-warning
add `container::warning` style
2025-11-25 21:45:19 +01:00
Héctor
25229b0960
Merge pull request #2871 from JL710/container_docs
improve center/align docs of container
2025-11-25 08:48:00 +01:00
edwloef
ca9d93b5c6
make default container style respect crisp feature 2025-11-12 18:12:43 +01: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
81d1eda7fe
Introduce selector flag and decouple iced_widget from iced_runtime 2025-08-23 05:15:57 +02:00
Héctor Ramón Jiménez
885d45f435
Fix broken intra-doc links 2025-08-23 02:41:52 +02:00
Héctor Ramón Jiménez
fbe60feb7e
Remove Id for container, scrollable, and text_input 2025-08-23 02:04:30 +02:00
Héctor Ramón Jiménez
63142d34fc
Introduce new iced_selector subcrate and refactor Operation 2025-08-23 01:44:17 +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
c98f3d525a
Add background styling for button 2025-08-03 21:45:42 +02:00
Héctor Ramón Jiménez
98d8f466bb
Merge branch 'master' into feature/test-recorder 2025-07-08 00:29:55 +02:00
Héctor Ramón Jiménez
ca1bf717b3
Implement Quote support in markdown widget 2025-06-27 16:47:54 +02:00
Héctor Ramón Jiménez
921467b5be
Draft Instruction DSL in iced_test 2025-05-31 02:46:46 +02:00
Héctor Ramón Jiménez
567b7d9e9f
Add crisp feature for enabling default quad snapping 2025-05-30 00:30:23 +02:00
Héctor Ramón Jiménez
fae95d6095
Draft float widget and simplify image again 🎉 2025-04-29 22:34:09 +02:00
edwloef
5f02c554a9
add container::warning style 2025-04-29 16:41:57 +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
JL710
6ecf7da43a improve center/align docs of container 2025-03-30 12:42:38 +02:00
Héctor Ramón Jiménez
954f49d4d7
Add weakest and strongest to Background palette
... and tweak background shade generation logic.
2025-02-22 00:34:55 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
65bf503963
Introduce additional color styles for container 2025-02-09 05:59:32 +01: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
ea8696eac2
Use Into<Id> for container::Id arguments 2025-01-30 02:47:14 +01:00
Héctor Ramón Jiménez
d09d5d45ae
Draft iced_test crate and test todos example 2024-12-10 04:51:08 +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
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
BradySimon
f912d26d64
Add PartialEq derives for widget styles 2024-10-14 20:59:32 +02:00
Héctor Ramón Jiménez
96615d5537
Show container doc example in multiple places 2024-09-19 03:33:09 +02:00
lufte
e102e89c6a
Implement scroll_by operation for scrollable
`scroll_by` allows scrolling an absolute offset
that is applied to the current scrolling position.
2024-09-10 22:09:03 +02:00
Héctor Ramón Jiménez
9d7aa11623
Implement From<Style> for container::StyleFn
Co-authored-by: wiiznokes <78230769+wiiznokes@users.noreply.github.com>
2024-09-02 12:00:55 +02:00
Héctor Ramón Jiménez
feff4d1cba
Introduce container::background style helper 2024-09-02 11:59:35 +02:00
Héctor Ramón Jiménez
4c883f12b4
Make RichText generic over data structure
... and decouple `markdown::parse` from theming
2024-08-22 02:24:06 +02:00
Héctor Ramón Jiménez
422568dee4
Introduce black_box and chain in widget::operation 2024-08-08 01:25:00 +02:00
Héctor Ramón Jiménez
7b0945729a
Make container::dark darker and rounded 2024-07-20 15:57:58 +02:00
Héctor Ramón Jiménez
58f361d680
Introduce container::dark style 2024-07-20 15:54:02 +02:00
Héctor Ramón Jiménez
05884870fc
Make container::Style API more consistent 2024-07-20 15:53:50 +02:00
Héctor Ramón Jiménez
ab392cee94
Improve Border ergonomics 2024-07-12 19:10:52 +02:00
Héctor Ramón Jiménez
915c926c28
Fix inconsistent align_* methods in Container 2024-07-12 18:18:04 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types 2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets 2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
88611d7653
Hide internal Task constructors 2024-07-05 01:13:28 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support 2024-06-14 01:47:39 +02:00
Héctor Ramón Jiménez
05f69f495e
Ask for explicit Length in center_* methods 2024-05-13 17:56:02 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.

This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
Héctor Ramón Jiménez
f0ae9a0c38
Use Catalog approach for all widgets 2024-03-24 05:03:09 +01:00