Commit graph

186 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
ecf571dfeb
Fix unnecessary into call in Container::new 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
67277fbf93
Make column and row take an IntoIterator 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
e710e76949
Fix size_hint for keyed_column 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d62bb8193c
Introduce useful helpers in layout module 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d278bfd21d
Replace width and height with Widget::size 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
22226394f7
Introduce Widget::size_hint and fix further layout inconsistencies 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
0322e820eb
Create layout example 2024-01-10 10:01:41 +01:00
Héctor Ramón Jiménez
ed3b393018
Fix needless borrow in row::layout 2024-01-04 06:51:23 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout 2024-01-04 06:51:21 +01:00
Héctor Ramón
68c0484b5c
Merge pull request #2168 from jhff/fix/pane_grid_top_edge_click
[Fix] `PaneGrid` click interaction on the top edge
2024-01-04 05:26:12 +01:00
Giuliano Bellini s294739
9bbf7822e9 added text::Shaping to Tooltip 2023-12-23 00:17:10 +01:00
Joao Freitas
116fb666b0
Add deadband distance before initiating drag action on pane grid 2023-12-15 10:29:43 +00:00
Bingus
07b0aed5d3
Added the ability to change the style of a TextEditor 2023-12-06 14:52:53 -08:00
Héctor Ramón
fc285d3e46
Merge pull request #1964 from bungoboingo/feat/multi-window-support
[Feature] 🪟 Multi Window 🪟 .. redux!
2023-12-05 01:03:09 +01:00
Héctor Ramón Jiménez
43a7cc2222
Fix clippy lint 2023-12-01 16:10:37 +01:00
Héctor Ramón Jiménez
936d480267
Clip text to viewport bounds instead of layout bounds 2023-12-01 16:04:27 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
ab7dae554c
Provide actual bounds to Shader primitives
... and allow for proper translation and scissoring.
2023-11-28 23:13:38 +01:00
Héctor Ramón
100d15f306
Merge pull request #2143 from iced-rs/fix/tooltip-layout-invalidation
Invalidate layout when `Tooltip` changes `overlay`
2023-11-21 19:13:39 +01:00
Héctor Ramón Jiménez
f67387f2d8
Invalidate layout when Tooltip changes overlay 2023-11-21 18:58:54 +01:00
Héctor Ramón Jiménez
25006b9c6f
Fix Overlay composition
Translations were not easily composable.
2023-11-21 14:41:22 +01:00
Héctor Ramón Jiménez
811aa673e9
Improve module hierarchy of custom_shader example 2023-11-14 15:48:01 +01:00
Héctor Ramón Jiménez
63f36b0463
Export wgpu crate in shader module in iced_widget 2023-11-14 14:04:54 +01:00
Héctor Ramón Jiménez
91d7df52cd
Create shader function helper in iced_widget 2023-11-14 13:25:49 +01:00
Héctor Ramón Jiménez
280d3736d5
Fix broken intra-doc links 2023-11-14 13:23:28 +01:00
Héctor Ramón Jiménez
c2baf18cbf
Use Instant from iced_core instead of std
This is needed for Wasm compatibility.
2023-11-14 12:52:03 +01:00
Héctor Ramón Jiménez
882ae304ac
Enable iced_renderer/wgpu feature in iced_widget 2023-11-14 12:51:08 +01:00
Héctor Ramón Jiménez
9489e29e66
Re-organize custom module as pipeline module
... and move `Shader` widget to `iced_widget` crate
2023-11-14 12:49:49 +01:00
Bingus
91fca024b6
Reexport Transformation from widget::shader 2023-11-14 11:31:44 +01:00
Bingus
781ef1f94c
Added support for custom shader widget for iced_wgpu backend. 2023-11-14 11:31:44 +01:00
Héctor Ramón Jiménez
a5125d6fea
Refactor texture image filtering
- Support only `Linear` or `Nearest`
- Simplify `Layer` groups
- Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11 07:22:51 +01:00
Remmirad
4b32a48880
Fix clippy + fmt 2023-11-11 07:21:51 +01:00
Remmirad
5759096a4c
Implement texture filtering options 2023-11-11 07:21:51 +01:00
Héctor Ramón Jiménez
c8eca4e6bf
Improve TextEditor scroll interaction with a touchpad 2023-10-27 16:37:58 +02:00
Héctor Ramón Jiménez
e579d85530
Implement missing debug implementations in iced_widget 2023-10-27 05:08:06 +02:00
Héctor Ramón Jiménez
625cd745f3
Write documentation for the new text APIs 2023-10-27 05:04:14 +02:00
Héctor Ramón Jiménez
6582387579
Merge branch 'master' into text-editor 2023-10-27 03:58:45 +02:00
Héctor Ramón Jiménez
8cc19de254
Add text helper method for text_editor::Content 2023-09-22 06:00:51 +02:00
Héctor Ramón Jiménez
70e49df428
Fix selection clipping out of bounds in TextEditor 2023-09-22 05:50:31 +02:00
Héctor Ramón Jiménez
68d49459ce
Fix vertical scroll for TextEditor 2023-09-21 06:20:41 +02:00
Héctor Ramón Jiménez
7373dd856b
Scroll at least one line on macOS in TextEditor 2023-09-21 06:15:12 +02:00
Héctor Ramón Jiménez
da5dd2526a
Round ScrollDelta::Lines in TextEditor 2023-09-21 06:07:19 +02:00
Héctor Ramón Jiménez
f137d71e8f
Centralize clippy lints in .cargo/config.toml 2023-09-20 16:40:03 +02:00
Héctor Ramón Jiménez
1019d1e518
Fix clippy::filter_map_next 2023-09-20 05:23:15 +02:00
Héctor Ramón Jiménez
1e4bade53a
Fix clippy::redundant-closure-for-method-calls 2023-09-20 05:07:34 +02:00
Héctor Ramón Jiménez
caed50b277
Fix clippy::match-wildcard-for-single-variants 2023-09-20 05:03:25 +02:00
Héctor Ramón Jiménez
42ed90bc6f
Fix clippy::default_trait_access 2023-09-20 04:51:08 +02:00
Héctor Ramón Jiménez
6c386e90a1
Fix clippy::trivially-copy-pass-by-ref 2023-09-20 04:33:48 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +02:00
Héctor Ramón Jiménez
29fb4eab87
Scroll TextEditor only if cursor.is_over(bounds) 2023-09-20 01:23:50 +02:00