summaryrefslogtreecommitdiffstats
path: root/examples/styling (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-22Add `weakest` and `strongest` to `Background` paletteLibravatar Héctor Ramón Jiménez1-7/+22
... and tweak background shade generation logic.
2025-02-21Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez1-1/+1
2025-01-06Showcase different `button` styles in `styling` exampleLibravatar Héctor Ramón Jiménez1-5/+49
2024-09-11Add `label` method to `Toggler`Libravatar Héctor Ramón Jiménez1-1/+2
2024-09-11Add disabled state and `on_toggle` handler to `Toggler`Libravatar Héctor Ramón Jiménez1-6/+3
Co-authored-by: Your Name here only <krishnsundaram@gmail.com>
2024-09-04Add `text::Wrapping` supportLibravatar Héctor Ramón Jiménez1-1/+1
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2024-07-12Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez1-6/+5
2024-07-12Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez1-5/+3
2024-06-19Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez1-1/+1
2024-05-03Introduce `center` widget helperLibravatar Héctor Ramón Jiménez1-9/+4
... 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.
2024-03-17Move `Program` to `application` moduleLibravatar Héctor Ramón Jiménez1-1/+1
2024-03-16Remove `sandbox` by making `application` more generic :tada:Libravatar Héctor Ramón Jiménez1-1/+1
2024-03-16Make `sandbox` helper take a `title` as wellLibravatar Héctor Ramón Jiménez1-2/+1
2024-03-16Introduce `Program` APILibravatar Héctor Ramón Jiménez1-13/+6
2024-02-15Make `horizontal_space` and `vertical_space` fill by defaultLibravatar Héctor Ramón Jiménez1-1/+1
2024-02-14Use `Borrow` for both `options` and `selected` in `PickList`Libravatar Héctor Ramón Jiménez1-6/+2
2024-02-03Use `Theme::ALL` for theme selector in `styling` exampleLibravatar Héctor Ramón Jiménez1-71/+15
2024-02-03Add Dracula, Nord, Solarized and Grubvox variants to `Theme`Libravatar Var Bhat1-18/+45
2024-02-01Introduce support for disabling a `checkbox`Libravatar Alexander van Saase1-5/+2
2024-01-10Add `Theme` selector to `layout` exampleLibravatar Héctor Ramón Jiménez1-7/+10
2024-01-04Make `Shrink` have priority over `Fill` in layoutLibravatar Héctor Ramón Jiménez1-4/+5
2023-09-07Host GIFs and video examples in `iced.rs`Libravatar Héctor Ramón Jiménez1-3/+1
RIP Gfycat
2023-09-04Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez1-1/+1
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.
2023-09-03Use `Length::Fill` instead of fixed length in `styling` exampleLibravatar Héctor Ramón1-1/+1
2023-09-03fix(examples-styling): fixed checkbox and toggler getting hidden behind ↵Libravatar Akshay Raina1-0/+1
scrollbar Column inside scrollable is having Length::Fill so it is taking entire width thus hiding check box and toggler. Added fixed width to scrollable so Lenth::Fill will be relative to fixed width
2023-06-21Center `Submit` button vertically in `styling` exampleLibravatar Héctor Ramón Jiménez1-1/+3
2023-04-12Rename `on_change` to `on_input` for `TextInput`Libravatar Héctor Ramón Jiménez1-1/+1
2023-04-12Introduce disabled state for `TextInput`Libravatar Dan Mishin1-7/+4
2023-02-17Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez1-8/+4
2023-01-27Fix: Clippy lint 'uninlined_format_args'Libravatar 13r0ck1-1/+1
2022-11-03Box `Custom` in `Theme`Libravatar Héctor Ramón Jiménez1-1/+1
2022-11-03Derive `Copy` for `Theme`Libravatar Héctor Ramón Jiménez1-1/+1
2022-11-03Make `Theme::Custom` fields opaqueLibravatar Héctor Ramón Jiménez1-48/+41
2022-11-03fix: clippy lint ↵Libravatar Ashley Wulber1-3/+6
https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
2022-11-03refactor: remove once_cell from styling exampleLibravatar Ashley Wulber2-14/+15
2022-11-03refactor: undo changes to radioLibravatar Ashley Wulber1-9/+20
2022-11-03wip: Custom palette for built in themeLibravatar Ashley Wulber2-3/+22
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-62/+47
2022-06-07Implement theme styling for `Scrollable`Libravatar Héctor Ramón Jiménez1-103/+4
2022-06-07Implement theme styling for `TextInput`Libravatar Héctor Ramón Jiménez1-60/+3
2022-06-04Implement theme styling for `Checkbox`Libravatar Héctor Ramón Jiménez1-40/+3
2022-06-01Implement theme styling for `ProgressBar`Libravatar Héctor Ramón Jiménez1-25/+3
2022-06-01Implement theme styling for `Rule`Libravatar Héctor Ramón Jiménez1-28/+4
2022-06-01Use `Theme` background in `styling` exampleLibravatar Héctor Ramón Jiménez1-27/+2
2022-06-01Implement theme styling for `Toggler`Libravatar Héctor Ramón Jiménez1-43/+10
... and wire up theming to the `styling` example.
2022-05-27Implement theme styling for `Radio`Libravatar Héctor Ramón Jiménez1-42/+9
2022-05-26Fix examples and doc-testsLibravatar Héctor Ramón Jiménez1-54/+4
2022-05-14Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez1-73/+12
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-02-09Update Rust edition to 2021 :tada:Libravatar Héctor Ramón Jiménez1-1/+1
2022-01-20Remove ambiguous `text_color` attributes for `Checkbox` and `Radio`Libravatar Héctor Ramón Jiménez1-1/+2
Instead, always use a `StyleSheet`.