Héctor Ramón Jiménez
|
8a711408de
|
Compare absolute offsets as well in notify_on_scroll
|
2023-04-20 15:48:34 +02:00 |
|
Cory Forsstrom
|
6ad5e03d71
|
Add scrollable Viewport
|
2023-04-17 13:55:40 -07:00 |
|
Cory Forsstrom
|
b623f280ed
|
Add scroll_to operation for absolute scroll
|
2023-04-14 13:32:44 -07:00 |
|
Héctor Ramón
|
1de7da1091
|
Merge pull request #1749 from FinnPerry/fix/add-width-to-scrollable
Configurable `width` for `Scrollable`
|
2023-04-13 00:03:22 +02:00 |
|
Héctor Ramón Jiménez
|
66939b22b0
|
Remove max_width and max_height calls in scrollable::layout
|
2023-04-12 23:40:36 +02:00 |
|
Cory Forsstrom
|
4125c034f5
|
Include NaN in unchaged logic
|
2023-04-12 14:08:18 -07:00 |
|
Cory Forsstrom
|
ee32af2606
|
Don't publish redundant on_scroll offsets
|
2023-04-12 14:08:05 -07:00 |
|
Héctor Ramón Jiménez
|
c407b4504c
|
Introduce is_mouse_over_scrollbar to StyleSheet::hovered for Scrollable
|
2023-03-27 15:51:32 +02:00 |
|
Giuliano Bellini s294739
|
c337bf297d
|
renamed scrollable styles
|
2023-03-25 01:05:56 +01:00 |
|
FinnPerry
|
046f3596ca
|
fix: add width to scrollables
|
2023-03-08 11:44:08 +11:00 |
|
Giuliano Bellini
|
4f41927155
|
Merge branch 'iced-rs:master' into master
|
2023-02-22 21:23:04 +01:00 |
|
Héctor Ramón Jiménez
|
70483e7fdd
|
Fix Scrollbar bound calculations in Scrollable
|
2023-02-17 15:48:35 +01:00 |
|
Héctor Ramón Jiménez
|
7b8b01f560
|
Use f32 in Length::Units and rename it to Fixed
|
2023-02-17 15:40:17 +01:00 |
|
Nick Senger
|
6a683b603d
|
scrollable: provide ID to operation.container
|
2023-02-16 16:15:41 +01:00 |
|
Giuliano Bellini s294739
|
49e9a9a537
|
added function focused and focused_horizontal to theme.rs
|
2023-01-23 17:56:39 +01:00 |
|
Giuliano Bellini s294739
|
eaa2238600
|
debugging focused style not working
|
2023-01-23 17:32:08 +01:00 |
|
Giuliano Bellini s294739
|
7d2d813343
|
added new style for scrollable, to be applied when mouse is over the scrollable area
|
2023-01-23 16:57:24 +01:00 |
|
Héctor Ramón Jiménez
|
2d007474dd
|
Avoid dragging scroll area when touching scrollbars for Scrollable
|
2023-01-08 20:27:15 +01:00 |
|
Héctor Ramón Jiménez
|
f64e95e246
|
Remove PartialOrd implementation for Rectangle
A `PartialOrd` implementation is unclear for this type, since it has
a position besides its dimensions.
|
2023-01-08 20:19:36 +01:00 |
|
Héctor Ramón Jiménez
|
19f4373863
|
Enable horizontal scrolling with Shift+MouseWheel
|
2023-01-08 20:17:11 +01:00 |
|
Héctor Ramón Jiménez
|
624a4ada79
|
Introduce RelativeOffset type in scrollable
|
2023-01-08 20:07:11 +01:00 |
|
bungoboingo
|
9f85e0c721
|
Reworked Scrollable to account for lack of widget order guarantees.
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
|
2022-12-29 18:29:15 -08:00 |
|
Bingus
|
d91f4f6aa7
|
Add multidirectional scrolling capabilities to the existing Scrollable.
|
2022-12-29 10:21:23 -08:00 |
|
Héctor Ramón Jiménez
|
0e9c1ab192
|
Add Renderer argument to operate
|
2022-12-22 14:29:24 +01:00 |
|
Héctor Ramón Jiménez
|
6bb01b7276
|
Fix clippy lints for Rust 1.66
|
2022-12-20 11:31:25 +01:00 |
|
Héctor Ramón Jiménez
|
a2864df098
|
Fix scroller in Scrollable always being drawn
... instead of only drawing it when the mouse is over the `Scrollable`.
|
2022-12-05 14:44:26 +01:00 |
|
Héctor Ramón Jiménez
|
4029a1cdaa
|
Merge branch 'master' into non-uniform-border-radius-for-quads
|
2022-12-02 18:53:21 +01:00 |
|
tarkah
|
f1ada7a803
|
Allow &mut self in overlay
|
2022-11-29 12:17:29 -08:00 |
|
mtkennerly
|
44aba47b0e
|
Allow converting from widget-specific IDs to generic ID
|
2022-11-11 08:44:10 +08:00 |
|
Héctor Ramón Jiménez
|
18fb74f200
|
Introduce Custom variants for every style in the built-in Theme
|
2022-11-09 04:05:31 +01:00 |
|
Robert Krahn
|
c0596179bd
|
non uniform border radius for quads
|
2022-11-03 22:48:26 +01:00 |
|
Héctor Ramón Jiménez
|
66f7d43dc9
|
Write missing documentation in iced_native
|
2022-08-05 05:15:41 +02:00 |
|
Héctor Ramón Jiménez
|
13dd1ca0a8
|
Implement scrollable::snap_to operation
|
2022-08-04 03:55:41 +02:00 |
|
Héctor Ramón Jiménez
|
52f84e51e9
|
Implement Widget::operate for TextInput
|
2022-07-28 03:53:47 +02:00 |
|
Héctor Ramón Jiménez
|
ff2519b1d4
|
Replace stateful widgets with new iced_pure API
|
2022-07-27 06:49:20 +02:00 |
|
Héctor Ramón Jiménez
|
cdd3802e68
|
Fix max_height for Scrollable
|
2022-07-18 23:38:44 +02:00 |
|
Héctor Ramón Jiménez
|
2f76a10a1d
|
Fix further clippy lints
... and explicitly annotate crates as well.
|
2022-07-09 18:03:59 +02:00 |
|
Héctor Ramón Jiménez
|
de21a651c0
|
Implement theme styling for Scrollable
|
2022-06-07 03:26:48 +02:00 |
|
Héctor Ramón Jiménez
|
664251f3f5
|
Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
|
2022-05-14 01:56:32 +02:00 |
|
Héctor Ramón Jiménez
|
d9d6dff550
|
Loose lifetime bounds in pure::Widget implementations
|
2022-03-29 18:24:17 +07:00 |
|
Héctor Ramón Jiménez
|
12c1a3f829
|
Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
|
2022-03-09 14:10:15 +07:00 |
|
Héctor Ramón Jiménez
|
c35496d80f
|
Merge branch 'master' into virtual-widgets
|
2022-03-07 15:29:43 +07:00 |
|
Héctor Ramón Jiménez
|
1313c94e3b
|
Remove hash_layout method from Widget trait
|
2022-02-23 21:31:54 +07:00 |
|
Héctor Ramón Jiménez
|
b2670e8752
|
Implement Scrollable in iced_pure
|
2022-02-12 15:18:31 +07:00 |
|
Héctor Ramón Jiménez
|
810e086728
|
Introduce Renderer argument to mouse_interaction and on_event
|
2022-01-11 14:12:28 +07:00 |
|
Héctor Ramón Jiménez
|
aed5a0d5f9
|
Remove unused field in scrollable::Scrollbar
|
2021-12-07 16:11:55 +07:00 |
|
Héctor Ramón Jiménez
|
bbd9355450
|
Introduce Shell type in iced_native
Widgets now can invalidate the current layout of the application on demand.
|
2021-11-29 16:22:01 +07:00 |
|
Héctor Ramón Jiménez
|
023aded277
|
Rename fill_rectangle to fill_quad in Renderer
|
2021-11-04 19:24:11 +07:00 |
|
Héctor Ramón Jiménez
|
631e95ee0b
|
Move viewport argument to last position in mouse_interaction methods
This keeps the order of the arguments consistent with `draw`.
|
2021-11-02 15:03:29 +07:00 |
|
Héctor Ramón Jiménez
|
eed19dcf81
|
Reintroduce Box for style_sheet in Scrollable
|
2021-10-31 17:39:24 +07:00 |
|