Commit graph

2939 commits

Author SHA1 Message Date
Nick Senger
45dda41c4c add overlays to Lazy example 2023-01-10 21:35:55 -08:00
Nick Senger
4066f89ce7 cleanup Lazy examples 2023-01-10 21:35:55 -08:00
Nick Senger
2e3a69be31 fix: Lazy widget 2023-01-10 21:35:42 -08:00
Héctor Ramón
7ccd87c36b
Merge pull request #1550 from bungoboingo/feat/multidirectional-scrolling
[Feature] Multidirectional scrolling
2023-01-09 19:23:35 +01:00
Héctor Ramón
07d755c6a2
Merge pull request #1565 from bungoboingo/feat/tracing
[Feature] Profiling
2023-01-09 19:10:45 +01:00
Héctor Ramón Jiménez
2e5dc1f37a
Add newline at EOF to .gitignore 2023-01-09 18:52:38 +01:00
bungoboingo
4b6d3797d4
Restructured everything to make profiling a feature of iced_winit. 2023-01-09 18:52:38 +01:00
Bingus
c5cd236b73
Initial profiling support for Iced. 2023-01-09 18:52:38 +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
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
Héctor Ramón
ba20ac8e49
Merge pull request #1639 from iced-rs/fix/limits-clamp
Stop using `f32::clamp` altogether in `layout::Limits`
2023-01-05 19:05:41 +01:00
Héctor Ramón Jiménez
200cf47fe8
Stop using f32::clamp altogether in layout::Limits 2023-01-05 18:51:48 +01:00
Héctor Ramón
d29849df79
Merge pull request #1633 from pop-os/standardize-checkbox-functions
use same name & order for checkbox::new and helper
2023-01-05 18:35:24 +01:00
Héctor Ramón
2e5eebd0ec
Merge pull request #1638 from tarkah/fix/responsive-overlay-layout
Fix Responsive overlay placement bug
2023-01-05 18:12:57 +01:00
Cory Forsstrom
c885f56748
Fix shadowed variable
Layout passed into the overlay was accidentally shadowed by the
content's layout. So instead of offsetting by the proper layout, the
content layout was used instead.
2023-01-05 08:57:38 -08:00
Héctor Ramón
43374f1f4e
Merge pull request #1637 from iced-rs/fix/layout-resolve-panic
Fix `Layout::resolve` panicking under some circumstances
2023-01-05 17:19:31 +01:00
Héctor Ramón Jiménez
31abc4ce0d
Fix Layout::resolve panicking under some circumstances
When `fill` has a bigger `Size` than `max`.
2023-01-05 16:40:45 +01:00
13r0ck
2209dbf212 Checkbox: Fix tests with sync'ed helper macro and associated fn 2023-01-04 13:08:53 -07:00
13r0ck
d8536e6248 use same name & order for checkbox::new and helper
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
2023-01-04 12:41:23 -07:00
Héctor Ramón
dca3d1fa7c
Merge pull request #1636 from tarkah/fix/location-copy
Make location copy
2023-01-04 19:32:03 +01:00
Héctor Ramón
b5e4e0e2f5
Merge pull request #1635 from tarkah/fix/pub-count-fields
Make count fields pub
2023-01-04 19:31:37 +01:00
Cory Forsstrom
e8aee70a69
Fix lint 2023-01-04 10:17:40 -08:00
Héctor Ramón
e7f06af873
Merge pull request #1634 from Araxeus/fix-doc-links
fix doc links
2023-01-04 18:59:23 +01:00
Cory Forsstrom
ff49a95eca
Make location copy 2023-01-04 09:52:42 -08:00
Cory Forsstrom
b2c81c163d
Make count fields pub 2023-01-04 09:50:56 -08:00
Araxeus
54693c8d71 fix doc links 2023-01-04 18:21:58 +02:00
Héctor Ramón
f641e20f7f
Merge pull request #1585 from Night-Hunter-NF/FocusWindow
add action to make window focus
2023-01-02 21:28:14 +01:00
Héctor Ramón Jiménez
dd25e93be0
Rename FocusWindow to GainFocus in window::Action 2023-01-02 21:14:41 +01:00
Night_Hunter
81cd0c45b7
Add FocusWindow to window::Action 2023-01-02 21:14:02 +01:00
Héctor Ramón Jiménez
c740b3af75
Fix "Test Status" badge in README 2023-01-02 20:42:14 +01:00
Héctor Ramón
da1b375579
Merge pull request #1562 from casperstorm/feat/custom-accessory-content
Added ability to customize the handle of a `pick_list`
2023-01-02 20:36:40 +01:00
Héctor Ramón
d956b8a9fb
Merge pull request #1584 from Night-Hunter-NF/RequestUserAttention
add action to request user attention
2023-01-02 20:32:43 +01:00
Héctor Ramón Jiménez
6855961358
Create conversion function for user_attention in iced_winit 2023-01-02 20:17:36 +01:00
Night_Hunter
d95b9bf244
Add RequestUserAttention to window::Action 2023-01-02 20:13:42 +01:00
Héctor Ramón
54105a24e1
Merge pull request #1622 from rs017991/text_input_shift_click
TextInput: SHIFT+Left Click to Select
2023-01-02 19:52:21 +01:00
Héctor Ramón
fd2ddfa1aa
Merge pull request #1628 from nicksenger/feat/component-operations
Add `operate` method to `Component` trait
2023-01-02 19:46:58 +01:00
Héctor Ramón
7594e483ef
Merge pull request #1624 from rpitasky/patch-1
Minor docs typo
2023-01-02 19:42:19 +01:00
Héctor Ramón Jiménez
76a2e65c4f
Rename is_checked to is_toggled in Toggler 2023-01-02 19:40:57 +01:00
Héctor Ramón
a5a406f9de
Merge pull request #1616 from pop-os/standardize-toggler-functions
Use same name & order for toggler::new and helper
2023-01-02 19:40:40 +01:00
Héctor Ramón Jiménez
cec28e2ef5
Prefix _ instead of allow(unused) in Component trait 2023-01-02 19:32:47 +01:00
Nick Senger
8d5fba8a1f Add operate method to Component trait 2022-12-30 13:11:09 -08: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
rpitasky
9bcb0574db
Minor docs typo
"Romve" -> "Remove"
2022-12-29 14:19:04 -05:00
Bingus
d91f4f6aa7 Add multidirectional scrolling capabilities to the existing Scrollable. 2022-12-29 10:21:23 -08:00
Ryan Scheidter
280ffd26b7 TextInput: SHIFT+Left Click to Select 2022-12-25 12:24:29 -06:00
13r0ck
5b556250be Use same name & order for toggler::new and helper
The helper function for the toggler widget switched the order and
name of the arguments passed when creating the toggler widget.
This just standardizes the order whether the dev is using the
helper or the associated function.
2022-12-22 13:53:56 -07: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