summaryrefslogtreecommitdiffstats
path: root/examples/component/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate the `component` widgetLibravatar Héctor Ramón Jiménez2024-09-051-149/+0
|
* Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez2024-07-121-11/+6
|
* Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez2024-07-121-4/+2
|
* Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-031-5/+3
| | | | | | | | ... 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 widgetsLibravatar Héctor Ramón Jiménez2024-03-241-8/+2
|
* Try catalog theming approach with `Button`Libravatar Héctor Ramón Jiménez2024-03-231-2/+2
|
* Introduce `Program` APILibravatar Héctor Ramón Jiménez2024-03-161-13/+3
|
* Use closures for `Text::style`Libravatar Héctor Ramón Jiménez2024-03-121-2/+8
|
* Make `component` example generic over `Theme`Libravatar Héctor Ramón Jiménez2024-03-091-3/+8
|
* Add `size_hint` method to `Component` traitLibravatar Héctor Ramón Jiménez2024-02-211-1/+8
| | | | | | | This can be used to aid the sizing strategy of some containers directly in the component definition, instead of stating the sizes explicitly in `view` logic.
* Convert `Renderer::Theme` to generic `Widget` typeLibravatar Héctor Ramón Jiménez2024-01-211-4/+4
|
* Merge branch 'master' into advanced-textLibravatar Héctor Ramón Jiménez2023-04-171-1/+1
|\
| * Rename `on_change` to `on_input` for `TextInput`Libravatar Héctor Ramón Jiménez2023-04-121-1/+1
| |
| * Introduce disabled state for `TextInput`Libravatar Dan Mishin2023-04-121-1/+1
| |
* | Merge branch 'master' into feature/software-rendererLibravatar Héctor Ramón Jiménez2023-03-071-2/+3
|\|
| * Remove `Fill` variant for `Alignment`Libravatar Héctor Ramón Jiménez2023-02-271-2/+3
| | | | | | | | | | Implementing this generically in our `flex` logic has an exponential cost. Let's explore other options!
* | Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-17/+5
|/
* Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-1/+1
|
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-66/+48
|
* Fix `clippy` lints for all crates and featuresLibravatar Héctor Ramón Jiménez2022-07-091-2/+1
| | | | ... and check those in CI as well!
* Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez2022-06-291-3/+7
|
* Implement theme styling for `TextInput`Libravatar Héctor Ramón Jiménez2022-06-071-2/+2
|
* Rename `Variant` to `Style` and `Style` to `Appearance`Libravatar Héctor Ramón Jiménez2022-05-261-2/+0
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-0/+4
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Hide `Box` allocation in `component::view`Libravatar Héctor Ramón Jiménez2021-11-291-1/+1
| | | | ... we may be able to avoid it with generics in the future.
* Draft `component` example :tada:Libravatar Héctor Ramón Jiménez2021-11-291-0/+180