Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | |
| | | | |||||
| * | | added new style for scrollable, to be applied when mouse is over the ↵ | 2023-01-23 | 1 | -0/+10 | |
| | | | | | | | | | | | | scrollable area | ||||
* | | | Create `iced_widget` subcrate and re-organize the whole codebase | 2023-03-04 | 3 | -4/+3 | |
| |/ |/| | |||||
* | | Bump versions :tada: | 2023-02-18 | 1 | -2/+2 | |
| | | |||||
* | | Added the ability to change checkbox icon | 2023-02-16 | 2 | -4/+4 | |
|/ | |||||
* | Bump versions :tada: | 2023-01-14 | 1 | -2/+2 | |
| | |||||
* | Merge pull request #1550 from bungoboingo/feat/multidirectional-scrolling | 2023-01-09 | 2 | -1/+49 | |
|\ | | | | | [Feature] Multidirectional scrolling | ||||
| * | Reworked Scrollable to account for lack of widget order guarantees. | 2022-12-29 | 1 | -0/+9 | |
| | | | | | | | | Fixed thumb "snapping" bug on scrollable when cursor is out of bounds. | ||||
| * | Add multidirectional scrolling capabilities to the existing Scrollable. | 2022-12-29 | 2 | -1/+40 | |
| | | |||||
* | | Merge pull request #1562 from casperstorm/feat/custom-accessory-content | 2023-01-02 | 2 | -4/+4 | |
|\ \ | |/ |/| | Added ability to customize the handle of a `pick_list` | ||||
| * | Rename `pick_list::AccessoryContent` to `Handle` | 2022-12-14 | 2 | -4/+4 | |
| | | | | | | | | ... and rename `Default` variant to `Arrow`. | ||||
| * | Added accessory_content_color to appreance. | 2022-11-29 | 2 | -0/+4 | |
| | | |||||
| * | Added ability to customize accessory content. | 2022-11-29 | 2 | -4/+0 | |
| | | |||||
* | | Bump versions :tada: | 2022-12-07 | 1 | -1/+1 | |
| | | |||||
* | | Fix casing in `theme` | 2022-12-06 | 1 | -1/+1 | |
| | | |||||
* | | Remove `appearance` from `Handle` | 2022-12-06 | 2 | -28/+45 | |
| | | | | | | | | ... and pass it directly to `Renderer::draw` instead. | ||||
* | | feat: SVG styling with icon fill color | 2022-12-06 | 3 | -0/+46 | |
| | | |||||
* | | Fix custom style of PickList | 2022-12-02 | 1 | -1/+1 | |
|/ | |||||
* | Bump versions :tada: | 2022-11-10 | 1 | -2/+2 | |
| | |||||
* | Write documentation for `iced_style` | 2022-11-10 | 18 | -56/+261 | |
| | |||||
* | Use `derive(Default)` for `theme` types | 2022-11-09 | 1 | -50/+16 | |
| | |||||
* | Introduce `Custom` variants for every style in the built-in `Theme` | 2022-11-09 | 15 | -242/+499 | |
| | |||||
* | Box `Custom` in `Theme` | 2022-11-03 | 1 | -4/+4 | |
| | |||||
* | Derive `Copy` for `Theme` | 2022-11-03 | 1 | -2/+2 | |
| | |||||
* | Make `Theme::Custom` fields opaque | 2022-11-03 | 1 | -6/+22 | |
| | |||||
* | fix: clippy lint ↵ | 2022-11-03 | 1 | -5/+5 | |
| | | | | https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant | ||||
* | wip: Custom palette for built in theme | 2022-11-03 | 2 | -2/+15 | |
| | |||||
* | Use `once_cell` instead of `lazy_static` | 2022-10-28 | 2 | -8/+7 | |
| | | | | | | This seems to be generally considered the preferred, idiomatic solution now. This is in the standard library behind a feature flag (apparently now called `std::sync::LazyLock`). | ||||
* | Derive `Clone` and `Copy` for `toggler::Appearance` | 2022-10-05 | 1 | -1/+1 | |
| | |||||
* | Add `is_selected` argument in `radio::StyleSheet` | 2022-10-05 | 2 | -5/+13 | |
| | |||||
* | feat: allow specification of `border_radius` for `pick_list::Menu` | 2022-08-02 | 2 | -0/+2 | |
| | |||||
* | Add and purify `arc` example by @ThatsNoMoon | 2022-07-10 | 1 | -5/+5 | |
| | |||||
* | Fix further `clippy` lints | 2022-07-09 | 3 | -11/+15 | |
| | | | | ... and explicitly annotate crates as well. |