summaryrefslogtreecommitdiffstats
path: root/native/src/widget/checkbox.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-04-11Move `Icon` definitions after `Widget` implementationLibravatar Héctor Ramón Jiménez1-11/+11
2023-03-04Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez1-321/+0
2023-02-24Fix `clippy` lintsLibravatar Héctor Ramón Jiménez1-1/+1
2023-02-24Fix `checkbox` exampleLibravatar Héctor Ramón Jiménez1-1/+1
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 `f32` for `Icon::size` in `checkbox`Libravatar Héctor Ramón Jiménez1-2/+2
2023-02-17Use `Pixels` for `Text::size`Libravatar Héctor Ramón Jiménez1-3/+3
2023-02-17Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez1-13/+9
2023-02-16Added the ability to change checkbox iconLibravatar Casper Storm1-4/+34
2023-01-04Checkbox: Fix tests with sync'ed helper macro and associated fnLibravatar 13r0ck1-1/+1
2023-01-04use same name & order for checkbox::new and helperLibravatar 13r0ck1-1/+1
The helper function for the checkbox widget switched the order and name of the arguments passed when creating the checkbox widget. This just standardizes the order whether the dev is using the helper or the associated function. Continuation of https://github.com/iced-rs/iced/pull/1616
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-1/+1
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-1/+4
2022-07-09Address Clippy lintsLibravatar Poly1-1/+4
2022-06-29Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez1-6/+8
2022-06-04Implement theme styling for `Checkbox`Libravatar Héctor Ramón Jiménez1-10/+20
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-1/+1
2022-02-23Remove `hash_layout` method from `Widget` traitLibravatar Héctor Ramón Jiménez1-11/+2
2022-02-12Implement `Checkbox` in `iced_pure`Libravatar Héctor Ramón Jiménez1-2/+2
2022-01-20Remove ambiguous `text_color` attributes for `Checkbox` and `Radio`Libravatar Héctor Ramón Jiménez1-11/+3
Instead, always use a `StyleSheet`.
2022-01-11Introduce `Renderer` argument to `mouse_interaction` and `on_event`Libravatar Héctor Ramón Jiménez1-0/+1
2022-01-03Change GitHub namespace to new org for all filesLibravatar LordRatte1-1/+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-14Add checkbox text_color stylingLibravatar Daniel May1-12/+12
2021-11-04Rename `fill_rectangle` to `fill_quad` in `Renderer`Libravatar Héctor Ramón Jiménez1-7/+9
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-10-31Reintroduce `Box` for `style_sheet` in `Checkbox`Libravatar Héctor Ramón Jiménez1-3/+6
2021-10-31Introduce first-class `text` module in `iced_native`Libravatar Héctor Ramón Jiménez1-8/+8
2021-10-31Remove `widget` module re-exports in `iced_native`Libravatar Héctor Ramón Jiménez1-3/+4
2021-10-21Implement `Widget::mouse_interaction` for `Checkbox`Libravatar Héctor Ramón Jiménez1-0/+13
2021-10-21Implement `Widget::draw` for `Checkbox`Libravatar Héctor Ramón Jiménez1-23/+58
2021-10-21Remove `Renderer` trait for `Checkbox`Libravatar Héctor Ramón Jiménez1-33/+22
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-4/+4
2021-10-14Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez1-49/+25
2021-09-20Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez1-5/+6
2021-09-20Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez1-2/+2
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
2020-10-28Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez1-0/+1
This should eventually allow us to only generate primitives that are visible.
2020-07-28Fix `Widget::layout` for `Checkbox`Libravatar Héctor Ramón Jiménez1-0/+1