summaryrefslogtreecommitdiffstats
path: root/native/src/widget/scrollable.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-1327/+0
|
* Fix `Scrollbar` bound calculations in `Scrollable`Libravatar Héctor Ramón Jiménez2023-02-171-9/+12
|
* Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-44/+43
|
* scrollable: provide ID to operation.containerLibravatar Nick Senger2023-02-161-8/+11
|
* 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-081-45/+40
|
* Reworked Scrollable to account for lack of widget order guarantees.Libravatar bungoboingo2022-12-291-601/+532
| | | | Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
* Add multidirectional scrolling capabilities to the existing Scrollable.Libravatar Bingus2022-12-291-363/+753
|
* Add `Renderer` argument to `operate`Libravatar Héctor Ramón Jiménez2022-12-221-0/+2
|
* Fix `clippy` lints for Rust 1.66Libravatar Héctor Ramón Jiménez2022-12-201-3/+2
|
* Fix scroller in `Scrollable` always being drawnLibravatar Héctor Ramón Jiménez2022-12-051-3/+2
| | | | ... instead of only drawing it when the mouse is over the `Scrollable`.
* Merge branch 'master' into non-uniform-border-radius-for-quadsLibravatar Héctor Ramón Jiménez2022-12-021-4/+10
|\
| * Allow &mut self in overlayLibravatar tarkah2022-11-291-2/+2
| |
| * Allow converting from widget-specific IDs to generic IDLibravatar mtkennerly2022-11-111-0/+6
| |
| * 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
|/
* Write missing documentation in `iced_native`Libravatar Héctor Ramón Jiménez2022-08-051-0/+7
|
* Implement `scrollable::snap_to` operationLibravatar Héctor Ramón Jiménez2022-08-041-3/+39
|
* Implement `Widget::operate` for `TextInput`Libravatar Héctor Ramón Jiménez2022-07-281-0/+16
|
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-212/+190
|
* Fix `max_height` for `Scrollable`Libravatar Héctor Ramón Jiménez2022-07-181-1/+3
|
* Fix further `clippy` lintsLibravatar Héctor Ramón Jiménez2022-07-091-3/+3
| | | | ... and explicitly annotate crates as well.
* Implement theme styling for `Scrollable`Libravatar Héctor Ramón Jiménez2022-06-071-12/+25
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-0/+2
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Loose lifetime bounds in `pure::Widget` implementationsLibravatar Héctor Ramón Jiménez2022-03-291-3/+3
|
* Remove redundant `widget` modules in subcratesLibravatar Héctor Ramón Jiménez2022-03-091-0/+7
| | | | Instead, we can define the type aliases just once in the root crate!
* Merge branch 'master' into virtual-widgetsLibravatar Héctor Ramón Jiménez2022-03-071-13/+3
|\
| * Remove `hash_layout` method from `Widget` traitLibravatar Héctor Ramón Jiménez2022-02-231-13/+3
| |
* | Implement `Scrollable` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-121-369/+520
|/
* Introduce `Renderer` argument to `mouse_interaction` and `on_event`Libravatar Héctor Ramón Jiménez2022-01-111-1/+4
|
* Remove unused field in `scrollable::Scrollbar`Libravatar Héctor Ramón Jiménez2021-12-071-4/+0
|
* Introduce `Shell` type in `iced_native`Libravatar Héctor Ramón Jiménez2021-11-291-9/+9
| | | | 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-16/+20
|
* Move `viewport` argument to last position in `mouse_interaction` methodsLibravatar Héctor Ramón Jiménez2021-11-021-2/+2
| | | | This keeps the order of the arguments consistent with `draw`.
* Reintroduce `Box` for `style_sheet` in `Scrollable`Libravatar Héctor Ramón Jiménez2021-10-311-3/+6
|
* Remove `widget` module re-exports in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-2/+3
|
* Fix scrollbar clipping in `Scrollable` draw logicLibravatar Héctor Ramón Jiménez2021-10-281-25/+32
|
* Implement `Widget::mouse_interaction` for `PaneGrid`Libravatar Héctor Ramón Jiménez2021-10-251-10/+15
| | | | | | ... and fix rendering of drag interaction in `PaneGrid` by introducing an explicit `with_translation` method to `Renderer` and simplifying the `with_layer` and `Clip` primitive.
* Implement `Widget::mouse_interaction` for `Scrollable`Libravatar Héctor Ramón Jiménez2021-10-181-0/+39
|
* Wire up `container` styling to `iced_native`Libravatar Héctor Ramón Jiménez2021-10-181-4/+1
|
* Move `Defaults` from `iced_graphics` to `iced_native`Libravatar Héctor Ramón Jiménez2021-10-181-3/+3
|
* Draw scrollbar in `Widget::draw` for `Scrollable`Libravatar Héctor Ramón Jiménez2021-10-181-94/+113
|
* Implement `Widget::draw` for `Scrollable`Libravatar Héctor Ramón Jiménez2021-10-141-38/+88
| | | | Rendering the scroller is still WIP
* Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-141-77/+40
|
* Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-201-2/+2
|
* Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez2021-09-201-3/+3
|
* Introduce `on_scroll` event in `Scrollable`Libravatar Héctor Ramón2021-06-041-1/+47
|
* Introduce `snap_to` and `unsnap` to `scrollable::State`Libravatar Héctor Ramón2021-06-041-184/+139
|