summaryrefslogtreecommitdiffstats
path: root/native/src/widget/toggler.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-04Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez1-324/+0
2023-02-24Use `Pixels` for `Text::size`Libravatar Héctor Ramón Jiménez1-2/+1
2023-02-24Overhaul `Font` type to allow font family selectionLibravatar Héctor Ramón Jiménez1-6/+7
2023-02-17Use `Pixels` for `spacing`Libravatar Héctor Ramón Jiménez1-4/+4
2023-02-17Use `Pixels` for `size` methodsLibravatar Héctor Ramón Jiménez1-2/+2
2023-02-17Use `Pixels` for `Text::size`Libravatar Héctor Ramón Jiménez1-5/+5
2023-02-17Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez1-10/+6
2023-01-02Rename `is_checked` to `is_toggled` in `Toggler`Libravatar Héctor Ramón Jiménez1-9/+9
2022-12-22Use same name & order for toggler::new and helperLibravatar 13r0ck1-9/+9
The helper function for the toggler widget switched the order and name of the arguments passed when creating the toggler widget. This just standardizes the order whether the dev is using the helper or the associated function.
2022-12-20Fix `clippy` lints for Rust 1.66Libravatar Héctor Ramón Jiménez1-2/+2
2022-11-09Introduce `Custom` variants for every style in the built-in `Theme`Libravatar Héctor Ramón Jiménez1-2/+2
2022-11-03non uniform border radius for quadsLibravatar Robert Krahn1-2/+2
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-1/+4
2022-07-09Address Clippy lintsLibravatar Poly1-2/+5
2022-06-29Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez1-5/+5
2022-06-01Implement theme styling for `Toggler`Libravatar Héctor Ramón Jiménez1-11/+21
... and wire up theming to the `styling` example.
2022-05-14Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez1-0/+1
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-04-30Fix broken intra-doc links in documentationLibravatar Héctor Ramón Jiménez1-0/+2
2022-03-09Remove redundant `widget` modules in subcratesLibravatar Héctor Ramón Jiménez1-2/+1
Instead, we can define the type aliases just once in the root crate!
2022-02-23Remove `hash_layout` method from `Widget` traitLibravatar Héctor Ramón Jiménez1-10/+2
2022-02-13Introduce lifetime to `on_change` handler for `Toggler`Libravatar Héctor Ramón Jiménez1-2/+2
2022-01-11Introduce `Renderer` argument to `mouse_interaction` and `on_event`Libravatar Héctor Ramón Jiménez1-0/+1
2021-12-10Lower text::Renderer's Font bound from Copy to CloneLibravatar Olivier Pinon1-2/+2
2021-11-29Introduce `Shell` type in `iced_native`Libravatar Héctor Ramón Jiménez1-3/+3
Widgets now can invalidate the current layout of the application on demand.
2021-11-04Rename `fill_rectangle` to `fill_quad` in `Renderer`Libravatar Héctor Ramón Jiménez1-14/+22
2021-11-02Move `viewport` argument to last position in `mouse_interaction` methodsLibravatar Héctor Ramón Jiménez1-1/+1
This keeps the order of the arguments consistent with `draw`.
2021-11-01Fix missing lifetime in doc example for `Toggler`Libravatar Héctor Ramón Jiménez1-1/+1
2021-10-31Introduce state lifetime for `style_sheet` in `Toggler`Libravatar Héctor Ramón Jiménez1-7/+8
2021-10-31Introduce first-class `text` module in `iced_native`Libravatar Héctor Ramón Jiménez1-6/+6
2021-10-31Remove `widget` module re-exports in `iced_native`Libravatar Héctor Ramón Jiménez1-2/+3
2021-10-28Implement `Widget::mouse_interaction` for `Toggler`Libravatar Héctor Ramón Jiménez1-0/+13
2021-10-28Implement `Widget::draw` for `Toggler`Libravatar Héctor Ramón Jiménez1-53/+91
2021-10-20Implement `Widget::draw` for `TextInput`Libravatar Héctor Ramón Jiménez1-5/+4
2021-10-18Move `Defaults` from `iced_graphics` to `iced_native`Libravatar Héctor Ramón Jiménez1-1/+2
2021-10-14Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez1-57/+31
2021-09-20Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez1-8/+13
2021-09-20Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez1-3/+3
2021-06-03Use intra-doc links in `Toggler` docsLibravatar Héctor Ramón1-23/+0
2021-06-03Rename `text_align` to `text_alignment` in `Toggler`Libravatar Héctor Ramón1-8/+6
2021-06-03Update documentation of `Toggler`Libravatar Kaiden421-1/+1
2021-06-03Change label of `Toggler` to optionalLibravatar Kaiden421-29/+45
2021-06-03Add alignment of `Toggler` label.Libravatar Kaiden421-1/+25
2021-06-03fix missing semicolon in doc testLibravatar Kaiden421-1/+1
2021-06-03Implement `Toggler` widget for iced_nativeLibravatar Kaiden421-86/+75
2021-05-17Added text color and font options for native radio and checkbox (#831)Libravatar zdevwu1-3/+11
* text color and font options to radio * code formatting * code formatting * code formatting * Added text_color for native checkbox * Removed clone as color has Copy * Fix code formatting with `cargo fmt` Co-authored-by: Héctor Ramón <hector@lich.io>
2021-03-10Make `Clipboard` argument in `Widget` trait mutableLibravatar Héctor Ramón Jiménez1-2/+2
2020-12-15Turn `Touch` into a `touch::Event` enumLibravatar Héctor Ramón Jiménez1-5/+2
2020-11-26Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez1-22/+2
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-12Implement event capturing for `Checkbox`Libravatar Héctor Ramón Jiménez1-0/+2
2020-11-12Make `Widget::on_event` return an `event::Status`Libravatar Héctor Ramón Jiménez1-4/+10