Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update all `examples` to Rust 2024 | 2025-02-21 | 1 | -1/+1 | |
| | |||||
* | Implement `From<u32>` instead of `u16` for `Length` and `Pixels` | 2025-02-09 | 1 | -6/+6 | |
| | |||||
* | Fix consistency of import ordering | 2025-01-06 | 1 | -2/+2 | |
| | |||||
* | chore: remove once_cell dependency | 2025-01-06 | 2 | -5/+4 | |
| | |||||
* | Fix `Scrollable::spacing` not embedding the `Scrollbar` | 2024-07-16 | 1 | -8/+6 | |
| | |||||
* | Rename `embed_*` in `Scrollable` to simply `spacing` | 2024-07-12 | 1 | -6/+8 | |
| | |||||
* | Improve `Padding` ergonomics | 2024-07-12 | 1 | -3/+3 | |
| | | | | | We expose free functions for creating a `Padding` and methods with the same name to modify its fields. | ||||
* | Re-export variants of `Length` and `alignment` types | 2024-07-12 | 1 | -11/+11 | |
| | |||||
* | Introduce helper methods for alignment for all widgets | 2024-07-12 | 1 | -16/+16 | |
| | |||||
* | Add support for embedded scrollbars for `scrollable` | 2024-07-11 | 1 | -31/+30 | |
| | | | | Co-authored-by: dtzxporter <dtzxporter@users.noreply.github.com> | ||||
* | Introduce `daemon` API and unify shell runtimes | 2024-06-19 | 1 | -1/+1 | |
| | |||||
* | Replace `Command` with a new `Task` API with chain support | 2024-06-14 | 1 | -6/+6 | |
| | |||||
* | Introduce `center` widget helper | 2024-05-03 | 1 | -1/+1 | |
| | | | | | | | | ... 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. | ||||
* | Use `Catalog` approach for all widgets | 2024-03-24 | 1 | -2/+2 | |
| | |||||
* | Move `Program` to `application` module | 2024-03-17 | 1 | -1/+1 | |
| | |||||
* | Implement `Program::load` to specify startup `Command` | 2024-03-16 | 1 | -14/+16 | |
| | |||||
* | Introduce `Program` API | 2024-03-16 | 1 | -18/+12 | |
| | |||||
* | Simplify theming for `ProgressBar` widget | 2024-03-05 | 1 | -2/+3 | |
| | |||||
* | Assert `scrollable` content size never fills scrolling axis | 2024-02-24 | 1 | -30/+30 | |
| | |||||
* | Make `horizontal_space` and `vertical_space` fill by default | 2024-02-15 | 1 | -10/+10 | |
| | |||||
* | Simplify `scrollable` styling API | 2024-02-12 | 1 | -51/+2 | |
| | |||||
* | Introduce an appearance for a scrollable, ability to customize the scrollbar ↵ | 2024-02-12 | 1 | -1/+5 | |
| | | | | | | gap. Update scrollable.rs | ||||
* | Introduce `Border` struct analogous to `Shadow` | 2024-01-20 | 1 | -8/+8 | |
| | |||||
* | Reduce `padding` of `scrollable` example | 2024-01-10 | 1 | -1/+1 | |
| | |||||
* | Introduce `Widget::size_hint` and fix further layout inconsistencies | 2024-01-10 | 1 | -15/+8 | |
| | |||||
* | Make `Shrink` have priority over `Fill` in layout | 2024-01-04 | 1 | -19/+10 | |
| | |||||
* | Fix `clippy::default_trait_access` | 2023-09-20 | 1 | -2/+2 | |
| | |||||
* | Fix styling of horizontal scrollbar in `scrollable` example | 2023-09-14 | 1 | -2/+2 | |
| | |||||
* | Use workspace dependencies and package inheritance | 2023-09-04 | 1 | -2/+4 | |
| | | | | | | We are also taking this as a chance to synchronize the versions of all the crates! Because of this, we will skip the `0.11` version. | ||||
* | Add scrollable alignment option | 2023-07-04 | 1 | -7/+45 | |
| | |||||
* | Rename `ScrollbarProperties` to `Direction` in `scrollable` | 2023-06-27 | 1 | -13/+13 | |
| | |||||
* | Make vertical scroll properties optional | 2023-06-27 | 1 | -9/+9 | |
| | | | | Co-Authored-By: Austin M. Reppert <austinmreppert@gmail.com> | ||||
* | clean up rebase mistake | 2023-05-23 | 1 | -19/+8 | |
| | |||||
* | Extend border radius on relevant widgets | 2023-05-23 | 1 | -10/+21 | |
| | |||||
* | Support conversion from Fn trait to custom theme | 2023-05-21 | 1 | -19/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...instead of just from function pointers. I'm making this change not because I actually want to pass a closure, but to make passing a single fixed function work. This commit also simplifies the scrollable example slightly, and without the other half of this change that simplified example fails to compile with: ``` error[E0277]: the trait bound `iced::theme::ProgressBar: From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}>` is not satisfied --> examples/scrollable/src/main.rs:292:28 | 292 | .style(progress_bar_custom_style) | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}>` is not implemented for `iced::theme::ProgressBar` | | | required by a bound introduced by this call | = help: the trait `From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance>` is implemented for `iced::theme::ProgressBar` = note: required for `for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}` to implement `Into<iced::theme::ProgressBar>` note: required by a bound in `iced::widget::ProgressBar::<Renderer>::style` --> /home/marienz/src/iced/widget/src/progress_bar.rs:77:21 | 77 | style: impl Into<<Renderer::Theme as StyleSheet>::Style>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProgressBar::<Renderer>::style` ``` This happens because `progress_bar_custom_style` by itself is a function item, which is typically coerced to a function pointer when one is needed, but not in this case. It is possible to work around this on the caller's side, but especially since the compiler diagnostic for this is a bit rough (see https://github.com/rust-lang/rust/issues/100116) let's try to make it work out of the box. | ||||
* | Add scrollable `Viewport` | 2023-04-17 | 1 | -3/+3 | |
| | |||||
* | Add `scroll_to` operation for absolute scroll | 2023-04-14 | 1 | -2/+2 | |
| | |||||
* | Merge pull request #1669 from GyulyVGC/master | 2023-03-27 | 1 | -11/+25 | |
|\ | | | | | Added scrollable style `focused` to be displayed when mouse is over the scrollable area | ||||
| * | Introduce `is_mouse_over_scrollbar` to `StyleSheet::hovered` for `Scrollable` | 2023-03-27 | 1 | -11/+25 | |
| | | |||||
* | | Remove `Fill` variant for `Alignment` | 2023-02-27 | 1 | -1/+0 | |
|/ | | | | | Implementing this generically in our `flex` logic has an exponential cost. Let's explore other options! | ||||
* | Use `f32` in `Length::Units` and rename it to `Fixed` | 2023-02-17 | 1 | -11/+11 | |
| | |||||
* | Add some missing `spacing` to `scrollable` example | 2023-01-08 | 1 | -0/+2 | |
| | |||||
* | Introduce `RelativeOffset` type in `scrollable` | 2023-01-08 | 1 | -7/+7 | |
| | |||||
* | Reworked Scrollable to account for lack of widget order guarantees. | 2022-12-29 | 2 | -81/+55 | |
| | | | | Fixed thumb "snapping" bug on scrollable when cursor is out of bounds. | ||||
* | Add multidirectional scrolling capabilities to the existing Scrollable. | 2022-12-29 | 3 | -183/+324 | |
| | |||||
* | Box `Custom` in `Theme` | 2022-11-03 | 1 | -1/+1 | |
| | |||||
* | Remove unnecessary `clone` in `scrollable` example | 2022-11-03 | 1 | -1/+1 | |
| | |||||
* | Run `cargo fmt` | 2022-11-03 | 1 | -3/+1 | |
| | |||||
* | fix: clippy lint ↵ | 2022-11-03 | 1 | -1/+1 | |
| | | | | https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant | ||||
* | fix: scrollable example | 2022-11-03 | 1 | -5/+14 | |
| |