summaryrefslogtreecommitdiffstats
path: root/native/src/widget/radio.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-299/+0
|
* Use `Pixels` for `Text::size`Libravatar Héctor Ramón Jiménez2023-02-241-2/+1
|
* Overhaul `Font` type to allow font family selectionLibravatar Héctor Ramón Jiménez2023-02-241-5/+6
|
* Use `Pixels` for `spacing`Libravatar Héctor Ramón Jiménez2023-02-171-4/+4
|
* Use `Pixels` for `size` methodsLibravatar Héctor Ramón Jiménez2023-02-171-2/+2
|
* Use `Pixels` for `Text::size`Libravatar Héctor Ramón Jiménez2023-02-171-5/+5
|
* Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-10/+6
|
* Merge branch 'master' into non-uniform-border-radius-for-quadsLibravatar Héctor Ramón Jiménez2022-12-021-2/+2
|\
| * Introduce `Custom` variants for every style in the built-in `Theme`Libravatar Héctor Ramón Jiménez2022-11-091-2/+2
| |
* | non uniform border radius for quadsLibravatar Robert Krahn2022-11-031-2/+2
|/
* Add `is_selected` argument in `radio::StyleSheet`Libravatar MG_REX2022-10-051-2/+2
|
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-1/+4
|
* Address Clippy lintsLibravatar Poly2022-07-091-5/+3
|
* Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez2022-06-291-4/+6
|
* Implement theme styling for `Radio`Libravatar Héctor Ramón Jiménez2022-05-271-17/+22
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-0/+1
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Merge branch 'master' into virtual-widgetsLibravatar Héctor Ramón Jiménez2022-03-071-11/+2
|\
| * Remove `hash_layout` method from `Widget` traitLibravatar Héctor Ramón Jiménez2022-02-231-11/+2
| |
* | Implement `Radio` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-131-1/+1
|/
* Remove ambiguous `text_color` attributes for `Checkbox` and `Radio`Libravatar Héctor Ramón Jiménez2022-01-201-19/+11
| | | | Instead, always use a `StyleSheet`.
* Introduce `Renderer` argument to `mouse_interaction` and `on_event`Libravatar Héctor Ramón Jiménez2022-01-111-0/+1
|
* Change GitHub namespace to new org for all filesLibravatar LordRatte2022-01-031-1/+1
|
* Lower text::Renderer's Font bound from Copy to CloneLibravatar Olivier Pinon2021-12-101-1/+1
|
* Introduce `Shell` type in `iced_native`Libravatar Héctor Ramón Jiménez2021-11-291-3/+3
| | | | Widgets now can invalidate the current layout of the application on demand.
* Rename `fill_rectangle` to `fill_quad` in `Renderer`Libravatar Héctor Ramón Jiménez2021-11-041-20/+24
|
* Move `viewport` argument to last position in `mouse_interaction` methodsLibravatar Héctor Ramón Jiménez2021-11-021-1/+1
| | | | This keeps the order of the arguments consistent with `draw`.
* Reintroduce `Box` for `style_sheet` in `Radio`Libravatar Héctor Ramón Jiménez2021-10-311-3/+6
|
* Introduce first-class `text` module in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-7/+7
|
* Remove `widget` module re-exports in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-3/+4
|
* Implement `Widget::mouse_interaction` for `Radio`Libravatar Héctor Ramón Jiménez2021-10-201-0/+13
|
* Implement `Widget::draw` for `Radio`Libravatar Héctor Ramón Jiménez2021-10-201-2/+61
|
* Wire up styling to `Radio` in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-201-63/+26
|
* Implement `Widget::draw` for `TextInput`Libravatar Héctor Ramón Jiménez2021-10-201-5/+4
|
* Move `Defaults` from `iced_graphics` to `iced_native`Libravatar Héctor Ramón Jiménez2021-10-181-4/+4
|
* Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-141-45/+29
|
* Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-201-6/+7
|
* Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez2021-09-201-3/+3
|
* Added text color and font options for native radio and checkbox (#831)Libravatar zdevwu2021-05-171-5/+21
| | | | | | | | | | | | | | | | | * 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>
* Make `Clipboard` argument in `Widget` trait mutableLibravatar Héctor Ramón Jiménez2021-03-101-2/+2
|
* Turn `Touch` into a `touch::Event` enumLibravatar Héctor Ramón Jiménez2020-12-151-5/+2
|
* Merge branch 'ios-support-wip' into feature/touch-supportLibravatar Héctor Ramón Jiménez2020-12-151-1/+6
|\
| * Turn `Touch` into a struct and add finger idLibravatar Héctor Ramón Jiménez2020-03-191-2/+5
| |
| * Added initial touch events to support iOSLibravatar Sebastian Imlay2020-03-181-2/+3
| |
* | Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-20/+1
| | | | | | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* | Implement event capturing for `Radio`Libravatar Héctor Ramón Jiménez2020-11-121-0/+2
| |
* | Make `Widget::on_event` return an `event::Status`Libravatar Héctor Ramón Jiménez2020-11-121-4/+10
| |
* | Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez2020-10-281-0/+1
| | | | | | | | | | This should eventually allow us to only generate primitives that are visible.
* | Require `Clone` for `Message` early when neededLibravatar Héctor Ramón Jiménez2020-10-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, the widgets that needed a `Clone` bound on `Message` to implement the `Widget` trait could be created with a non-cloneable `Message`. As a consequence, the compiler complained only when actually trying to use the `Widget` trait. Normally, this happens when trying to `push` the widget in a container or turn it into an `Element`. Furthermore, the compiler error in this case does not mention `Message` nor the `Clone` bound, but instead complains about a missing `From` implementation. Thus, it can easily cause confusion! This change introduces `Clone` bounds in the main implementation of the widgets that need it to properly implement the `Widget` trait. As a result, the compiler complains early when trying to create one of these widgets with a non-cloneable `Message` and explicitly mentions that the `Message` needs to implement `Clone`.
* | Make default text size configurable in `Settings`Libravatar Héctor Ramón Jiménez2020-06-191-5/+5
| |
* | Updated `Radio` layout/fns to match `Checkbox`Libravatar Scott Harper2020-05-151-13/+62
| |