Commit graph

2893 commits

Author SHA1 Message Date
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
0c2bcecd44
Add some missing spacing to scrollable example 2023-01-08 20:09:47 +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
a6d0d5773f
Merge pull request #1615 from iced-rs/fix/responsive-operations
Fix operations for `Responsive` widget
2022-12-22 15:03:23 +01:00
Héctor Ramón Jiménez
5f2ec138d7
Implement Widget::operate for Responsive 2022-12-22 14:32:25 +01: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
678de11879
Merge pull request #1611 from iced-rs/fix/clippy-lints
Fix `clippy` lints for Rust 1.66
2022-12-20 11:45:38 +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
d2d18479ac
Merge pull request #1606 from iced-rs/feature/window-close
Implement `window::close` action and remove `should_exit`
2022-12-15 05:28:11 +01:00
Héctor Ramón Jiménez
e0c728c62c
Bump version of iced_glow 🎉 2022-12-15 03:10:52 +01:00
Héctor Ramón Jiménez
b5ab50b2a8
Implement window::close action and remove should_exit 2022-12-15 03:06:04 +01:00
Héctor Ramón Jiménez
0591798db7
Update latest release number in BUG_REPORT.yml 2022-12-14 03:37:49 +01:00
Héctor Ramón
c35ca2a320
Merge pull request #1596 from casperstorm/feat/slider-orientation
Added a VerticalSlider widget.
2022-12-14 03:21:28 +01:00
Héctor Ramón
b01be6b932
Merge pull request #1588 from Night-Hunter-NF/ToggleDecorations
add toggle decorations action
2022-12-14 03:00:47 +01:00
Casper Storm
55f36bc865
updated README for slider example 2022-12-13 10:13:27 +01:00
Casper Storm
bb4161c1ae
Split vertical orientation into VerticalSlider 2022-12-13 10:05:52 +01:00
Casper Storm
2e6d90f141
Merge branch 'master' into feat/slider-orientation 2022-12-13 09:31:57 +01:00
Héctor Ramón
02182eea45
Merge pull request #1593 from ben-wallis/xvar/fix-glow-image-svg
Fixed iced_glow crate compilation when image feature is enabled and the svg feature is disabled
2022-12-13 00:18:19 +01:00
Héctor Ramón
cfcf2017e5
Remove mention of iOS and Android in window::action 2022-12-13 00:13:01 +01:00
Casper Storm
ba95042fff
Vertical orientation added to Slider. 2022-12-12 15:27:00 +01:00
Ben Wallis
e9576edfef Fixed iced_glow crate compilation when image feature is enabled and the svg feature is disabled 2022-12-11 12:23:04 +00:00
Night_Hunter
750fecd6bc add toggle decorations action 2022-12-10 01:40:53 +13:00
Héctor Ramón Jiménez
7ceb8b8d40
Fix CHANGELOG link of 0.6.0 2022-12-07 04:48:00 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉 2022-12-07 04:44:20 +01:00
Héctor Ramón
f38e7fcac2
Merge pull request #1578 from iced-rs/svg-styling
Svg styling
2022-12-06 05:15:16 +01:00
Héctor Ramón Jiménez
f99d24e085
Fix casing in theme 2022-12-06 04:44:37 +01:00
Héctor Ramón Jiménez
a2f71f42ba
Rename Fill to ColorFilter in graphics::image::vector 2022-12-06 04:42:25 +01:00
Héctor Ramón Jiménez
2d58a2c033
Remove unnecessary clippy directives in Color 2022-12-06 04:40:50 +01:00
Héctor Ramón Jiménez
1220ce55bc
Showcase color filtering in existing svg example
... and remove the `svg_style` example
2022-12-06 04:36:00 +01:00
Héctor Ramón Jiménez
c0ca1807d4
Fix macro hygiene of color! 2022-12-06 04:34:42 +01:00
Héctor Ramón Jiménez
b205a66347
Remove appearance from Handle
... and pass it directly to `Renderer::draw` instead.
2022-12-06 04:34:00 +01:00
Michael Aaron Murphy
314b0f7dc5
chore(examples): Add svg-style example 2022-12-06 04:00:16 +01:00
Michael Aaron Murphy
75ae0de9bd
feat: SVG styling with icon fill color 2022-12-06 03:59:53 +01:00
Michael Aaron Murphy
0249640213
feat: Add Color::into_rgb8 2022-12-06 03:59:53 +01:00
Héctor Ramón
28f0beee52
Merge pull request #1574 from iced-rs/fix/draw-scroller-only-when-hovered
Fix scroller in `Scrollable` always being drawn
2022-12-05 15:01:39 +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
91d5516474
Merge pull request #1506 from rksm/non-uniform-border-radius-for-quads
non uniform border radius for quads
2022-12-02 21:10:44 +01:00
Héctor Ramón Jiménez
60e41666d0
Ask clippy to behave 2022-12-02 19:13:04 +01:00
Héctor Ramón Jiménez
18fd530085
Add custom_quad example
Thanks to @rksm 🙇
2022-12-02 19:06:42 +01:00
Héctor Ramón Jiménez
6d39aebec6
Fix border_radius in modal example 2022-12-02 18:55:10 +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
Héctor Ramón
da244ff804
Merge pull request #1570 from PolyMeilex/fix-picklist-custom-style
Fix custom style of PickList
2022-12-02 18:48:01 +01:00
Poly
74ebcca146 Fix custom style of PickList 2022-12-02 16:37:55 +01:00
Héctor Ramón
8b55e9b9e6
Merge pull request #1546 from tarkah/fix/overlay-widget-operations
Fix overlay widget operations
2022-11-30 19:55:57 +01:00
Cory Forsstrom
899bd45700 Add on_submit & esc for example 2022-11-29 12:50:57 -08:00
Cory Forsstrom
3814fda9d2 Add modal example 2022-11-29 12:50:57 -08:00