Commit graph

2692 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
f04336dd5c
Remove unnecessary clone in scrollable example 2022-11-03 03:26:10 +01:00
Héctor Ramón Jiménez
3517dece26
Run cargo fmt 2022-11-03 03:25:27 +01:00
Héctor Ramón Jiménez
708be32e3d
Derive Copy for Theme 2022-11-03 03:23:36 +01:00
Héctor Ramón Jiménez
9966c6f883
Make Theme::Custom fields opaque 2022-11-03 03:23:36 +01:00
Ashley Wulber
09a531cd44
fix: arc example 2022-11-03 03:23:36 +01:00
Ashley Wulber
4f3215f48e
fix: clippy lint https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant 2022-11-03 03:23:36 +01:00
Ashley Wulber
d5a933b047
refactor: remove once_cell from styling example 2022-11-03 03:23:36 +01:00
Ashley Wulber
269d6f9a3f
fix: scrollable example 2022-11-03 03:23:35 +01:00
Ashley Wulber
bc26dff2ca
refactor: undo changes to radio 2022-11-03 03:23:35 +01:00
Ashley Wulber
e2166ecad0
wip: Custom palette for built in theme 2022-11-03 03:23:35 +01:00
Héctor Ramón
231d2fd845
Merge pull request #1400 from nicksenger/lazy/cached
`Lazy` widget
2022-11-03 03:12:23 +01:00
Héctor Ramón
3b8669ae94
Merge pull request #1502 from icedrocket/master
fix: enable `application` feature required in `iced_glutin`
2022-11-03 03:05:54 +01:00
Héctor Ramón Jiménez
415978b807
Rename cached example to lazy 2022-11-03 02:55:22 +01:00
Héctor Ramón Jiménez
6efda2457e
Rename SortOrder to Order in cached example 2022-11-03 02:47:43 +01:00
Héctor Ramón Jiménez
1cdc1fcd06
Rename iced_lazy::Cached to Lazy 🎉 2022-11-03 02:46:31 +01:00
Héctor Ramón Jiménez
adf541d432
Improve layout of cached example 2022-11-03 02:40:51 +01:00
Héctor Ramón Jiménez
1687d11389
Increase default padding of TextInput 2022-11-03 02:35:17 +01:00
Héctor Ramón Jiménez
0478df9fd6
Add padding to main column in cached example 2022-11-03 02:35:05 +01:00
Héctor Ramón Jiménez
0e295be891
Move declaration of SortOrder in cached example 2022-11-03 02:32:38 +01:00
Héctor Ramón Jiménez
1fb84ae5d3
Remove iced_native dependency from cached example 2022-11-03 02:32:23 +01:00
Héctor Ramón Jiménez
4f83500bb8
Rename pure_cached example to cached 2022-11-03 02:31:04 +01:00
Héctor Ramón Jiménez
54f9ab7d5f
Implement Widget::operate for lazy::Cached 2022-11-03 02:30:41 +01:00
Héctor Ramón Jiménez
b5d33b0370
Diff children only when hash differs in lazy::Cached 2022-11-03 02:28:54 +01:00
Nick Senger
459d32b984
lint 2022-11-03 02:23:19 +01:00
Nick Senger
50eb9e34b8
add example 2022-11-03 02:23:19 +01:00
Nick Senger
7138141811
feat: implement Cached widget 2022-11-03 02:23:19 +01:00
Héctor Ramón
08e28f6f97
Merge pull request #1471 from pop-os/cosmic-window-controls
feat: Additional actions for window controls
2022-11-03 00:45:05 +01:00
icedrocket
be17295001 fix: enable application feature required in iced_glutin 2022-11-02 15:57:55 +09:00
Héctor Ramón
1c00adad61
Merge pull request #1497 from ids1024/once_cell
Use `once_cell` instead of `lazy_static`
2022-11-01 20:18:42 +01:00
Héctor Ramón Jiménez
743a7192b7
Remove patch version from once_cell dependency 2022-11-01 19:55:37 +01:00
Héctor Ramón
37c5b15f62
Merge pull request #1462 from wyatt-herkamp/master
Update `wgpu` to `0.14` and `wgpu_glyph` to `0.18`
2022-11-01 19:53:03 +01:00
Héctor Ramón Jiménez
8f6af6bbfc
Fix inconsistent version format for raw-window-handle dependency 2022-11-01 19:20:27 +01:00
Héctor Ramón Jiménez
bea5882c58
Remove inconsistent wgpu imports 2022-11-01 19:20:27 +01:00
Wyatt Herkamp
0a12590b6f
Update wgpu to 0.14 and wgpu_glyph to 0.18 2022-11-01 19:20:23 +01:00
Héctor Ramón Jiménez
ac6a3cf8eb
Reset is_pasting for TextInput even when unfocused 2022-10-29 04:50:45 +02:00
Héctor Ramón Jiménez
58d3374229
Keep keyboard modifiers always in sync in TextInput 2022-10-29 04:43:20 +02:00
Héctor Ramón
0eb24bd56a
Merge pull request #1496 from tarkah/fix/dropdown-scrollable
Fix drop down not closing when inside scrollable
2022-10-29 01:45:00 +02:00
Ian Douglas Scott
be9cd3a09f Use once_cell instead of lazy_static
This seems to be generally considered the preferred, idiomatic solution
now. This is in the standard library behind a feature flag (apparently
now called `std::sync::LazyLock`).
2022-10-28 15:58:21 -07:00
Cory Forsstrom
f8c363eeac Fix drop down not closing when inside scrollable
and user clicks outside the scrollable. This is because the scrollable
sets -1.0 on cursor.y for any events where cursor is outside it's
bounds. I'm not sure why picklist had this logic to stay open on -1.0 /
-1.0, any click outside the overlay should close it.
2022-10-27 17:40:18 -07:00
Héctor Ramón
82217947aa
Merge pull request #1480 from tarkah/more-pane-grid-fixes
More pane grid fixes
2022-10-19 23:32:12 +02:00
Cory Forsstrom
069371c86b Use child layout 2022-10-19 13:21:46 -07:00
Cory Forsstrom
470723c232 Eliminate unnecessary allocation 2022-10-19 13:05:56 -07:00
Cory Forsstrom
fb036529a2 Render picked pane last 2022-10-17 14:56:06 -07:00
Cory Forsstrom
dca99f35e9 Fix pane grid mouse interactions
- Use `grabbing` interaction while dragging
- Ignore grab interaction when dragging is disabled
2022-10-17 14:38:24 -07:00
Héctor Ramón
69e288cad1
Merge pull request #1463 from tarkah/fix/pane-grid-render-order
Render pane grid titlebar after body
2022-10-17 19:26:59 +02:00
Michael Aaron Murphy
ac6e137be3
feat: Add window minimize support 2022-10-11 21:56:45 +02:00
Michael Aaron Murphy
8a50836ffc
feat: Add window maximize support 2022-10-11 21:56:01 +02:00
Michael Aaron Murphy
7ea7dbef57
feat: Add window drag support from winit
Exposes access to the winit window's window_drag method as an action.
2022-10-11 21:39:53 +02:00
Cory Forsstrom
20fd1f2047 Render pane grid titlebar after body 2022-10-07 09:03:44 -07:00
Héctor Ramón
77c838011f
Merge pull request #1458 from AlistairKeiller/master
Fix wgpu README supported backends
2022-10-07 12:25:07 +02:00