Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `Shadow` to `container::Appearance` | 2024-01-20 | 2 | -2/+5 | |
| | |||||
* | Add `Shadow` to `button::Appearance` | 2024-01-20 | 1 | -4/+7 | |
| | |||||
* | Introduce `Border` struct analogous to `Shadow` | 2024-01-20 | 13 | -152/+120 | |
| | |||||
* | Merge pull request #2163 from hicaru/svg_hover | 2024-01-18 | 2 | -0/+11 | |
|\ | | | | | added svg hover, for styles impl | ||||
| * | added svg hover, for styles impl | 2023-12-12 | 2 | -0/+11 | |
| | | |||||
* | | Add `Theme` selector to `layout` example | 2024-01-10 | 1 | -6/+30 | |
| | | |||||
* | | Add `explain` toggle to `layout` example | 2024-01-10 | 1 | -0/+3 | |
| | | |||||
* | | Add basic controls to `layout` example | 2024-01-10 | 2 | -1/+31 | |
|/ | |||||
* | Write documentation for the new text APIs | 2023-10-27 | 1 | -1/+1 | |
| | |||||
* | Merge branch 'master' into text-editor | 2023-10-27 | 3 | -10/+4 | |
|\ | |||||
| * | Centralize `clippy` lints in `.cargo/config.toml` | 2023-09-20 | 1 | -6/+0 | |
| | | |||||
| * | Fix `clippy::default_trait_access` | 2023-09-20 | 1 | -3/+3 | |
| | | |||||
| * | Chore: Apply clippy docs keyword quoting | 2023-09-19 | 1 | -1/+1 | |
| | | | | | | | | Add quotes a number of doc strings like `sRGB` | ||||
* | | Introduce new `iced_highlighter` subcrate | 2023-09-19 | 1 | -15/+1 | |
| | | |||||
* | | Draft `Highlighter` API | 2023-09-17 | 2 | -2/+16 | |
| | | |||||
* | | Draft `Editor` API and `TextEditor` widget | 2023-09-12 | 3 | -0/+161 | |
|/ | |||||
* | Deny `broken_intradoc_links` and verify documentation in CI | 2023-09-09 | 1 | -3/+5 | |
| | |||||
* | Use workspace dependencies and package inheritance | 2023-09-04 | 1 | -17/+13 | |
| | | | | | | 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. | ||||
* | Introduce `theme::Custom::with_fn` to generate completely custom themes | 2023-09-03 | 1 | -5/+22 | |
| | |||||
* | Bump versions :tada: | 2023-07-28 | 1 | -2/+2 | |
| | |||||
* | Add ability to drag pane to the pane grid edges & optional style for dragged ↵ | 2023-07-06 | 1 | -1/+1 | |
| | | | | pane | ||||
* | Change default styling of `Slider` to leverage rounded borders | 2023-06-01 | 1 | -2/+2 | |
| | |||||
* | Add border_radius to slider rail | 2023-06-01 | 2 | -1/+4 | |
| | |||||
* | Upgrade `palette` dependency | 2023-05-25 | 2 | -11/+13 | |
| | |||||
* | Extend border radius on relevant widgets | 2023-05-23 | 12 | -43/+43 | |
| | |||||
* | Support conversion from Fn trait to custom theme | 2023-05-21 | 1 | -12/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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. | ||||
* | Merge pull request #1856 from jhff/pane_grid_split_with_dragged_pane | 2023-05-19 | 2 | -11/+46 | |
|\ | | | | | [Feature] Enhance PaneGrid to split panes by drag & drop | ||||
| * | Change name of hovered region style struct, reorder lines & export Appearance | 2023-05-19 | 2 | -18/+18 | |
| | | |||||
| * | Add pane_grid functionality to split a pane with another pane | 2023-05-16 | 2 | -1/+36 | |
| | | |||||
* | | Implement `custom` helper for `theme::Button` | 2023-05-19 | 1 | -0/+9 | |
| | | |||||
* | | Remove `Builder` abstractions for gradients | 2023-05-19 | 1 | -3/+3 | |
| | | |||||
* | | Added support for gradients as background variants + other optimizations. | 2023-05-11 | 2 | -0/+6 | |
|/ | |||||
* | Do not require `Copy` for text `StyleSheet::Style` | 2023-04-28 | 1 | -20/+0 | |
| | | | | | | | | | | | | | | | | For most widgets, `Style` only requires `Default`. A few require `Clone`. Only this one requires `Copy`. Some of the types in the default theme has a custom variant requiring `Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't possible if `Copy` is required. It would be good to also address the inconsistency of requiring `Clone` in some places and not others. This removes `style/src/text.rs` which is unused in this branch and thus confusing. If there's a reason to keep it, that can be removed from the change. | ||||
* | Merge branch 'master' into advanced-text | 2023-04-17 | 5 | -30/+101 | |
|\ | |||||
| * | Bump versions :tada: | 2023-04-13 | 1 | -2/+2 | |
| | | |||||
| * | Remove `border_radius` support for `slider::Rail` | 2023-04-13 | 2 | -3/+0 | |
| | | | | | | | | | | Our current quad shader may produce weird-looking results with non-integral scaling factors. | ||||
| * | Rename `Rail::size` to `width` | 2023-04-12 | 2 | -3/+3 | |
| | | |||||
| * | Use a `border_radius` of `2.0` for slider rails in built-in theme | 2023-04-12 | 1 | -1/+1 | |
| | | |||||
| * | Remove `border_width` support in `slider::Rail` | 2023-04-12 | 2 | -6/+0 | |
| | | |||||
| * | Introduce left and right colors for slider rails | 2023-04-12 | 2 | -5/+26 | |
| | | |||||
| * | Fine-tune built-in styling of disabled `TextInput` | 2023-04-12 | 1 | -7/+5 | |
| | | |||||
| * | Introduce disabled state for `TextInput` | 2023-04-12 | 2 | -0/+32 | |
| | | |||||
| * | Changed `Handle` to `Icon` to be consistent | 2023-04-11 | 2 | -5/+5 | |
| | | |||||
| * | Updated `handle_color` for focused state | 2023-04-11 | 1 | -1/+1 | |
| | | |||||
| * | feat: added handle to text_input | 2023-04-11 | 2 | -0/+5 | |
| | | |||||
| * | Fix inconsistency in default implementation of `scrollable::StyleSheet` | 2023-03-27 | 1 | -1/+1 | |
| | | |||||
| * | Introduce `is_mouse_over_scrollbar` to `StyleSheet::hovered` for `Scrollable` | 2023-03-27 | 2 | -49/+46 | |
| | | |||||
| * | renamed scrollable styles | 2023-03-25 | 2 | -17/+17 | |
| | | |||||
| * | Merge branch 'iced-rs:master' into master | 2023-02-22 | 3 | -6/+6 | |
| |\ | |||||
| * | | added function focused and focused_horizontal to theme.rs | 2023-01-23 | 1 | -0/+17 | |
| | | |