summaryrefslogtreecommitdiffstats
path: root/style/src/text.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-04-28Do not require `Copy` for text `StyleSheet::Style`Libravatar Ian Douglas Scott1-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.
2023-03-04Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez1-1/+1
2022-11-10Write documentation for `iced_style`Libravatar Héctor Ramón Jiménez1-0/+8
2022-07-09Fix further `clippy` lintsLibravatar Héctor Ramón Jiménez1-7/+1
... and explicitly annotate crates as well.
2022-06-29Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez1-0/+18