summaryrefslogtreecommitdiffstats
path: root/native/src/widget (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1721 from casperstorm/feat/no-bleed-sliderLibravatar Héctor Ramón2023-02-202-4/+4
|\ | | | | Sliders no longer bleed over rail
| * Sliders no longer bleed over railLibravatar Casper Storm2023-02-202-4/+4
| |
* | Bump versions :tada:Libravatar Héctor Ramón Jiménez2023-02-181-1/+1
| |
* | Use `Pixels` for `padding` in `image::Viewer`Libravatar Héctor Ramón Jiménez2023-02-171-6/+6
| |
* | Use `Pixels` for `spacing`Libravatar Héctor Ramón Jiménez2023-02-176-58/+51
| |
* | Use `f32` for `Icon::size` in `checkbox`Libravatar Héctor Ramón Jiménez2023-02-171-2/+2
| |
* | Use `f32` for `Padding`Libravatar Héctor Ramón Jiménez2023-02-176-40/+33
| |
* | Use `Pixels` for `size` methodsLibravatar Héctor Ramón Jiménez2023-02-173-7/+7
| |
* | Use `Pixels` for `Slider::height` and `VerticalSlider::width`Libravatar Héctor Ramón Jiménez2023-02-172-7/+7
| |
* | Fix `Scrollbar` bound calculations in `Scrollable`Libravatar Héctor Ramón Jiménez2023-02-171-9/+12
| |
* | Use `Pixels` for `Text::size`Libravatar Héctor Ramón Jiménez2023-02-176-42/+41
| |
* | Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-1721-185/+171
| |
* | Merge pull request #1707 from casperstorm/feat/checkbox-iconLibravatar Héctor Ramón2023-02-171-4/+34
|\ \ | | | | | | Added the ability to change `Checkbox` icon
| * | Added the ability to change checkbox iconLibravatar Casper Storm2023-02-161-4/+34
| |/
* | Merge pull request #1695 from nicksenger/widgets/container-idsLibravatar Héctor Ramón2023-02-162-17/+55
|\ \ | |/ |/| Provide widgets IDs to `Operation::container`
| * container: allow specification of ID and provide to `Operation::container`Libravatar Nick Senger2023-02-161-9/+44
| |
| * Revert "provide ID to operation.container in applicable widgets"Libravatar Nick Senger2023-02-165-226/+51
| | | | | | | | This reverts commit 8f9550bcf7c1cebbf90e80683761375406ca6139.
| * provide ID to operation.container in applicable widgetsLibravatar Nick Senger2023-02-165-51/+226
| |
| * scrollable: provide ID to operation.containerLibravatar Nick Senger2023-02-161-8/+11
| |
* | Pad after setting widthLibravatar Cory Forsstrom2023-02-141-1/+1
|/ | | | | Otherwise `width` will set limits back to a fixed width if `Length::Units` is used, overwriting padding.
* Inline `Handle::content` for simplicity and efficiencyLibravatar Héctor Ramón Jiménez2023-02-141-31/+22
| | | | We can avoid downcasting `state` :^)
* Provide `State` reference instead of closure to `pick_list::draw`Libravatar Héctor Ramón Jiménez2023-02-141-3/+2
|
* Use `char` instead of `String` for `pick_list::Icon`Libravatar Héctor Ramón Jiménez2023-02-141-19/+16
|
* Move `Handle` and `Icon` definitions in `pick_list`Libravatar Héctor Ramón Jiménez2023-02-141-70/+70
|
* Rename `HandleContent` to `Icon` and simplify genericsLibravatar Héctor Ramón Jiménez2023-02-141-54/+20
|
* Extend pick_list::HandleLibravatar Casper Storm2023-02-141-14/+68
|
* Refactor image draw to standalone functionLibravatar Cory Forsstrom2023-01-281-28/+40
|
* Merge pull request #1678 from frey/fix/mapped_operations_missingLibravatar Héctor Ramón2023-01-281-1/+11
|\ | | | | Mapped operations is missing text_input()
| * Mapped operations is missing text_input()...Libravatar frey2023-01-261-1/+11
| | | | | | | | This fixes a bug where some operations could be dropped.
* | Fix: Clippy lint 'uninlined_format_args'Libravatar 13r0ck2023-01-271-1/+1
|/
* Use group overlay for containers w/ childrenLibravatar Cory Forsstrom2023-01-171-5/+8
|
* Introduce `custom` method to `widget::Operation` traitLibravatar Héctor Ramón Jiménez2023-01-142-0/+13
| | | | This allows users to write operations for their custom widgets.
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2023-01-141-1/+1
|
* Use `instant` instead of `wasm-timer` in `iced_core`Libravatar Héctor Ramón Jiménez2023-01-121-2/+1
|
* Use `instant` to fix Wasm targetLibravatar Héctor Ramón Jiménez2023-01-121-1/+1
|
* Replace `Option<Instant>` with `RedrawRequest` enumLibravatar Héctor Ramón Jiménez2023-01-121-2/+2
|
* Rename `Focus::at` to `Focus::updated_at` in `text_input`Libravatar Héctor Ramón Jiménez2023-01-121-7/+14
|
* Use short-hand field notation in `TextInput`Libravatar Héctor Ramón Jiménez2023-01-121-1/+1
|
* Avoid reblinking cursor when clicking a focused `TextInput`Libravatar Héctor Ramón Jiménez2023-01-121-12/+7
|
* Draft `Shell:request_redraw` APILibravatar Héctor Ramón Jiménez2023-01-121-24/+78
| | | | ... and implement `TextInput` cursor blink :tada:
* Merge pull request #1550 from bungoboingo/feat/multidirectional-scrollingLibravatar Héctor Ramón2023-01-093-325/+679
|\ | | | | [Feature] Multidirectional scrolling
| * Avoid dragging scroll area when touching scrollbars for `Scrollable`Libravatar Héctor Ramón Jiménez2023-01-081-1/+4
| |
| * Remove `PartialOrd` implementation for `Rectangle`Libravatar Héctor Ramón Jiménez2023-01-081-1/+3
| | | | | | | | | | A `PartialOrd` implementation is unclear for this type, since it has a position besides its dimensions.
| * Enable horizontal scrolling with `Shift+MouseWheel`Libravatar Héctor Ramón Jiménez2023-01-081-1/+17
| |
| * Introduce `RelativeOffset` type in `scrollable`Libravatar Héctor Ramón Jiménez2023-01-082-51/+64
| |
| * Reworked Scrollable to account for lack of widget order guarantees.Libravatar bungoboingo2022-12-292-606/+537
| | | | | | | | Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
| * Add multidirectional scrolling capabilities to the existing Scrollable.Libravatar Bingus2022-12-293-374/+763
| |
* | Merge pull request #1633 from pop-os/standardize-checkbox-functionsLibravatar Héctor Ramón2023-01-052-3/+3
|\ \ | | | | | | use same name & order for checkbox::new and helper
| * | Checkbox: Fix tests with sync'ed helper macro and associated fnLibravatar 13r0ck2023-01-041-1/+1
| | |
| * | use same name & order for checkbox::new and helperLibravatar 13r0ck2023-01-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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