summaryrefslogtreecommitdiffstats
path: root/core/src/widget (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Nit fixes.Libravatar Andrew Baldwin2025-02-211-5/+5
|
* Add `is_focused` function that produces an `Operation` to get the focused ↵Libravatar Andrew Baldwin2025-02-211-0/+45
| | | | | | state of a `focusable` by ID. Add `is_focused` function that produces a `Task` to get the focused state of a `text_input` by ID.
* Run `cargo fmt`Libravatar Héctor Ramón Jiménez2025-02-212-4/+4
|
* Update to Rust 2024 and fix compiler errorsLibravatar Héctor Ramón Jiménez2025-02-211-1/+1
|
* Add missing dot in `unfocus` operation docsLibravatar Héctor2025-02-111-1/+1
|
* add unfocus operationLibravatar edwloef2025-02-111-0/+27
|
* Remove `dbg!` leftover in `core::widget::text`Libravatar Héctor Ramón Jiménez2024-12-101-2/+0
|
* Draft `iced_test` crate and test `todos` exampleLibravatar Héctor Ramón Jiménez2024-12-105-55/+225
|
* Fix new `clippy` lintsLibravatar Héctor Ramón Jiménez2024-12-022-4/+4
|
* Add `PartialEq` derives for widget stylesLibravatar BradySimon2024-10-141-1/+1
|
* Show `text` doc examples in multiple placesLibravatar Héctor Ramón Jiménez2024-09-191-2/+44
|
* Implement `scroll_by` operation for `scrollable`Libravatar lufte2024-09-102-5/+86
| | | | | `scroll_by` allows scrolling an absolute offset that is applied to the current scrolling position.
* Add `text::Wrapping` supportLibravatar Héctor Ramón Jiménez2024-09-041-2/+13
| | | | Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
* Rename `operation::chain` to `then`Libravatar Héctor Ramón Jiménez2024-08-152-6/+12
| | | | | ... and make `focus_*` operations generic over the output type.
* Introduce `black_box` and `chain` in `widget::operation`Libravatar Héctor Ramón Jiménez2024-08-082-28/+193
|
* Fix `text::State` downcast in some widgetsLibravatar Héctor Ramón Jiménez2024-07-191-1/+1
|
* Implement `rich_text` widget and `markdown` exampleLibravatar Héctor Ramón Jiménez2024-07-171-86/+5
|
* Decouple caching from `Paragraph` APILibravatar Héctor Ramón Jiménez2024-07-171-4/+7
|
* Add `default` and `base` stylings to `text` widgetLibravatar Héctor Ramón Jiménez2024-07-131-0/+12
|
* Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez2024-07-121-31/+2
|
* Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez2024-07-121-6/+41
|
* Add some built-in text styles for each `Palette` colorLibravatar Héctor Ramón Jiménez2024-07-111-0/+28
|
* doc: fix "Reconciles" typoLibravatar Vlad-Stefan Harbuz2024-06-301-3/+3
|
* Fix `Send` requirements for Wasm targetsLibravatar Héctor Ramón Jiménez2024-06-141-2/+2
|
* Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez2024-06-141-6/+6
|
* Implement `IntoFragment` for `Fragment`Libravatar Héctor Ramón Jiménez2024-04-021-0/+12
|
* Implement `IntoFragment` for `usize` and `isize`Libravatar Héctor Ramón Jiménez2024-04-021-0/+2
|
* Rename `text::IntoContent` to `IntoFragment`Libravatar Héctor Ramón Jiménez2024-04-011-40/+40
|
* Specialize `widget::text` helper with custom `IntoContent` traitLibravatar Héctor Ramón Jiménez2024-04-011-3/+67
|
* Use `Catalog` approach for all widgetsLibravatar Héctor Ramón Jiménez2024-03-241-46/+71
|
* Use closures for `Text::style`Libravatar Héctor Ramón Jiménez2024-03-121-53/+30
|
* fix some commentsLibravatar rustrover2024-03-091-1/+1
| | | | Signed-off-by: rustrover <seekseat@126.com>
* Clarify docs of `Text::color_maybe`Libravatar Héctor Ramón Jiménez2024-03-081-1/+1
|
* Use `Style` struct pattern instead of trait for all widgetsLibravatar Héctor Ramón Jiménez2024-03-061-24/+15
|
* Simplify theming for `Text` widgetLibravatar Héctor Ramón Jiménez2024-03-041-17/+48
|
* Convert `Renderer::Theme` to generic `Widget` typeLibravatar Héctor Ramón Jiménez2024-01-212-28/+29
|
* Introduce useful helpers in `layout` moduleLibravatar Héctor Ramón Jiménez2024-01-101-22/+21
|
* Replace `width` and `height` with `Widget::size`Libravatar Héctor Ramón Jiménez2024-01-101-7/+8
|
* Make `Shrink` have priority over `Fill` in layoutLibravatar Héctor Ramón Jiménez2024-01-041-1/+1
|
* Merge pull request #1964 from bungoboingo/feat/multi-window-supportLibravatar Héctor Ramón2023-12-051-1/+1
|\ | | | | [Feature] 🪟 Multi Window 🪟 .. redux!
| * Merge branch 'master' into feat/multi-window-supportLibravatar Héctor Ramón Jiménez2023-11-296-69/+233
| |\
| * \ Merge remote-tracking branch 'origin/master' into feat/multi-window-supportLibravatar Bingus2023-07-127-0/+1187
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # Cargo.toml # core/src/window/icon.rs # core/src/window/id.rs # core/src/window/position.rs # core/src/window/settings.rs # examples/integration/src/main.rs # examples/integration_opengl/src/main.rs # glutin/src/application.rs # native/src/subscription.rs # native/src/window.rs # runtime/src/window/action.rs # src/lib.rs # src/window.rs # winit/Cargo.toml # winit/src/application.rs # winit/src/icon.rs # winit/src/settings.rs # winit/src/window.rs
* | | | Clip text to `viewport` bounds instead of layout boundsLibravatar Héctor Ramón Jiménez2023-12-011-1/+4
| |_|/ |/| |
* | | Merge branch 'master' into text-editorLibravatar Héctor Ramón Jiménez2023-10-275-14/+14
|\ \ \
| * | | Fix `clippy::semicolon_if_nothing_returned`Libravatar Héctor Ramón Jiménez2023-09-204-13/+13
| | | |
| * | | Chore: Apply some minor clippy fixesLibravatar Yuri Astrakhan2023-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Use `.elapsed()` for duration * Use direct iteration without calling `.iter()` and the like * order fields in the `Text` struct creation as declared
* | | | Make `FontSystem` global and simplify `Paragraph` APILibravatar Héctor Ramón Jiménez2023-09-111-13/+10
|/ / /
* | | Introduce `keyed::Column` widgetLibravatar Héctor Ramón Jiménez2023-09-041-0/+82
| | |
* | | Fix unnecessary dereference in `widget::text`Libravatar Héctor Ramón Jiménez2023-08-301-1/+1
| | |
* | | Make `widget::Tree` mutable in `Widget::layout`Libravatar Héctor Ramón Jiménez2023-08-301-10/+9
| | |