summaryrefslogtreecommitdiffstats
path: root/style/src/text.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not require `Copy` for text `StyleSheet::Style`Libravatar Ian Douglas Scott2023-04-281-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.
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-1/+1
|
* Write documentation for `iced_style`Libravatar Héctor Ramón Jiménez2022-11-101-0/+8
|
* Fix further `clippy` lintsLibravatar Héctor Ramón Jiménez2022-07-091-7/+1
| | | | ... and explicitly annotate crates as well.
* Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez2022-06-291-0/+18