Héctor Ramón Jiménez
8ae4e09db9
Add support for embedded scrollbars for scrollable
...
Co-authored-by: dtzxporter <dtzxporter@users.noreply.github.com>
2024-07-11 08:00:58 +02:00
Héctor Ramón
aaab9865c4
Merge pull request #2488 from vladh/remove-scrollable-comment
...
doc: remove extraneous comment
2024-07-11 04:52:03 +02:00
Héctor Ramón
12bebba684
Merge pull request #2499 from iced-rs/scrollable-alignment-helpers
...
Add `align_x` and `align_y` helpers to `Scrollable`
2024-07-11 04:50:11 +02:00
Héctor Ramón Jiménez
bec3ca56c3
Add align_x and align_y helpers to Scrollable
2024-07-11 04:37:03 +02:00
Héctor Ramón Jiménez
5e6c9eeb7e
Add iced widget helper to display the iced logo ☄️
2024-07-11 04:33:19 +02:00
Héctor Ramón Jiménez
3d99da805d
Implement Default for combo_box::State
2024-07-09 00:27:59 +02:00
PgBiel
76f5bc2cce
add SelectAll to TextEditor
2024-07-08 01:16:31 +02:00
Héctor Ramón Jiménez
88611d7653
Hide internal Task constructors
2024-07-05 01:13:28 +02:00
Vlad-Stefan Harbuz
39c21e9fc2
doc: remove extraneous comment
2024-07-02 14:06:55 +01:00
Héctor Ramón
368b15f708
Merge pull request #2330 from Gigas002/viewer_content_fit
...
Implement content_fit for viewer widget
2024-06-18 00:37:24 +02:00
Héctor Ramón Jiménez
6c1027af8d
Fix text_editor always capturing scroll events
2024-06-17 03:37:00 +02:00
Héctor Ramón
964ae95827
Merge pull request #2460 from Andrew-Schwartz/master
...
Add FromIterator for Row and Column
2024-06-16 22:54:46 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support
2024-06-14 01:47:39 +02:00
Andrew-Schwartz
620c3d3222
format
2024-06-13 14:46:56 -04:00
Andrew-Schwartz
65eb06c537
Add FromIterator for Row and Column
2024-06-12 13:01:04 -04:00
Andrew-Schwartz
1355f8d296
Revert "Add FromIterator for Row and Column"
...
This reverts commit 06c80c5bce .
2024-06-12 13:00:02 -04:00
Andrew-Schwartz
06c80c5bce
Add FromIterator for Row and Column
2024-06-12 10:54:50 -04:00
Héctor Ramón
e6d0b3bda5
Merge pull request #2456 from iced-rs/window-id-in-event-subscriptions
...
Introduce `window::Id` to `Event` subscriptions
2024-06-11 20:22:44 +02:00
Héctor Ramón Jiménez
df85d85a6f
Allow dead_code in widget::lazy::cache
2024-06-11 20:07:06 +02:00
Héctor Ramón Jiménez
5d7dcf417c
Introduce subscription::Event
...
... and remove `PlatformSpecific` from `Event`
2024-06-11 19:41:05 +02:00
Héctor Ramón Jiménez
e400f972c1
Introduce window::Id to Event subscriptions
...
And remove `window::Id` from `Event` altogether.
2024-06-10 22:03:46 +02:00
PolyMeilex
e2b00f98a0
Allow for styling of the menu of a pick list
2024-06-08 02:09:10 +02:00
Héctor Ramón Jiménez
3312dc8080
Create jump and macos_command methods in keyboard::Modifiers
2024-05-31 16:23:09 +02:00
Héctor Ramón Jiménez
8cfa8149f5
Keep unary motion function in text_editor
2024-05-31 16:14:55 +02:00
BradySimon
bd48946b02
Add Command + ArrowLeft/Right input behavior for macos
2024-05-31 16:11:33 +02:00
Héctor Ramón Jiménez
d8ba6b0673
Merge branch 'master' into feat/text-macro
2024-05-23 13:29:45 +02:00
Héctor Ramón Jiménez
05f69f495e
Ask for explicit Length in center_* methods
2024-05-13 17:56:02 +02:00
gigas002
c95e296962
Make viewer widget inner naming and syntax closer to image widget
2024-05-10 01:31:23 +00:00
gigas002
22d55ccecb
Run cargo fmt
2024-05-08 19:18:13 +09:00
gigas002
477887b387
Merge branch 'master' of https://github.com/iced-rs/iced into iced-rs-master
2024-05-08 19:16:06 +09:00
Héctor Ramón Jiménez
fa9e1d96ea
Introduce dynamic opacity support for Image and Svg
2024-05-03 13:25:58 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
...
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.
This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
Héctor Ramón
1cefe6be21
Merge pull request #2334 from DKolter/image-rotation
...
Adding feature: Image rotation
2024-05-03 07:31:34 +02:00
myuujiku
8efd32c51b
Apply bounds check when grabbing image::Viewer
2024-05-02 21:18:47 +02:00
Héctor Ramón Jiménez
a57313b23e
Simplify image rotation API and its internals
2024-05-02 17:28:28 +02:00
Héctor Ramón Jiménez
09a6bcfffc
Add Image rotation support
...
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
2024-05-02 17:27:45 +02:00
Héctor Ramón Jiménez
aae8e4f5cf
Fix clippy lints for new 1.78 stable toolchain
2024-05-02 17:23:32 +02:00
Héctor Ramón Jiménez
b52c7bb610
Use an opaque Id type for image::Handle
...
Hashing pointers is a terrible idea.
2024-05-01 01:39:43 +02:00
Héctor Ramón Jiménez
b5b78d505e
Introduce canvas::Cache grouping
...
Caches with the same `Group` will share their text
atlas!
2024-04-30 07:57:54 +02:00
Héctor Ramón
d5bb6deb2f
Merge pull request #2408 from iced-rs/feature/hover-widget
...
`hover` widget
2024-04-27 11:53:11 +02:00
Héctor Ramón Jiménez
05c9077581
Propagate mouse movement and button releases unconditionally in hover
2024-04-27 11:28:43 +02:00
Héctor Ramón Jiménez
9c0f2dc9a5
Fix top layer clipping in hover widget
2024-04-27 11:21:18 +02:00
Héctor Ramón Jiménez
c58155a971
Set proper size boundaries for limits in Stack::layout
2024-04-27 06:20:41 +02:00
Héctor Ramón Jiménez
95ac45e33d
Fix ambiguous link in documentation of hover helper
2024-04-27 06:19:25 +02:00
Héctor Ramón Jiménez
40dff6b23d
Fix overlay behavior in hover widget
2024-04-27 06:16:57 +02:00
Héctor Ramón Jiménez
bb9244107c
Respect width and height properties when Stack is empty
2024-04-27 06:08:30 +02:00
Héctor Ramón Jiménez
23ef6547ad
Introduce hover widget
2024-04-27 06:06:13 +02:00
Héctor Ramón Jiménez
73088a6fc1
Fix out of bounds caret in TextEditor in some circumstances
2024-04-26 15:17:35 +02:00
Héctor Ramón Jiménez
6d4155a548
Fix Shift scrolling for scrollable on macOS
...
Apparently, macOS inverts the scrolling axes automatically now.
Was this a thing before, or did an update just break user space?
2024-04-26 01:44:03 +02:00
Héctor Ramón Jiménez
eb49567791
Capture scrollbar events in a scrollable before content events
2024-04-26 01:19:49 +02:00