Héctor Ramón Jiménez
8e372ce256
Allow scroll_to and snap_to to operate on a single axis
...
Co-authored-by: Rizzen Yazston <rizzen.yazston@gmail.com>
2025-11-29 06:23:18 +01:00
Héctor Ramón Jiménez
e9f1ac2c2a
Adjust AutoScroll default styling in scrollable
2025-11-28 22:02:17 +01:00
Héctor Ramón Jiménez
c582687518
Allow AutoScroll styling in scrollable widget
2025-11-28 08:56:32 +01:00
Héctor Ramón Jiménez
99748b89de
Implement AutoScrollIcon overlay for scrollable
2025-11-28 08:28:03 +01:00
Héctor Ramón Jiménez
eadd7b8e81
Smooth out auto-scrolling speed scaling in scrollable
2025-11-28 06:29:25 +01:00
Héctor Ramón Jiménez
519e7ae414
Add auto_scroll method to scrollable widget
2025-11-28 06:08:20 +01:00
nz366
71e57fe889
Add auto-scrolling support for scrollable widget
2025-11-28 05:48:17 +01:00
Héctor
b89c412496
Merge pull request #2918 from dcz-self/master
...
Report cursor size to input method
2025-11-25 22:51:48 +01:00
dcz
d22da7d261
Report cursor size to InputMethod
...
Co-authored-by: dcz-self <dcz-self@users.noreply.github.com>
2025-11-25 22:25:40 +01:00
Maksim Leyman
ee03e5da56
Fix scrollable touch scrolling when out of bounds
2025-11-25 21:41:19 +01:00
ellieplayswow
fd1d9654b0
Add in new convenience function for a hidden Scrollbar
2025-11-21 00:00:33 +01:00
Héctor Ramón Jiménez
a0cfd52d1b
Apply translation to levitated Cursor in scrollable
2025-10-15 22:17:39 +02:00
Héctor Ramón Jiménez
01429d72cd
Levitate cursor in scrollable
...
Fixes #3074
2025-10-11 07:57:37 +02:00
Héctor Ramón Jiménez
611f89fc59
Rename space_{x,y} to space::{horizontal,vertical}
2025-09-18 00:00:56 +02:00
Héctor Ramón Jiménez
5796ba272e
Remove missing_debug_implementations lint
2025-09-12 05:25:09 +02:00
Héctor Ramón Jiménez
89b7585465
Rename *_space to space_x and space_y
2025-09-11 07:13:11 +02:00
Héctor Ramón Jiménez
9e81c2b9e8
Merge branch 'master' into feature/test-recorder
2025-08-29 04:25:52 +02:00
Héctor Ramón Jiménez
6be707267e
Revert "Make Widget::diff mutable"
...
This reverts commit 497ebcd0c3 .
2025-08-29 04:21:43 +02:00
Héctor Ramón Jiménez
34a42b5ad4
Move all operations to widget::operation module
2025-08-23 03:54:54 +02:00
Héctor Ramón Jiménez
885d45f435
Fix broken intra-doc links
2025-08-23 02:41:52 +02:00
Héctor Ramón Jiménez
fbe60feb7e
Remove Id for container, scrollable, and text_input
2025-08-23 02:04:30 +02:00
Héctor Ramón Jiménez
63142d34fc
Introduce new iced_selector subcrate and refactor Operation
2025-08-23 01:44:17 +02:00
Héctor Ramón Jiménez
b476ab277a
Remove debug_assert! from scrollable by enforcing compression
2025-08-21 23:06:07 +02:00
Héctor Ramón Jiménez
497ebcd0c3
Make Widget::diff mutable
2025-08-20 23:14:23 +02:00
Héctor Ramón Jiménez
31bc6d48cd
Make Widget::layout and operate mutable
...
... and bless `responsive`!
2025-08-20 22:42:15 +02:00
Héctor Ramón Jiménez
d5cd0a6de9
Fix lints for Rust 1.89 and bump MSRV to 1.88
2025-08-07 22:38:22 +02:00
Héctor Ramón Jiménez
468014a184
Fix minor styling inconsistencies in some widgets
2025-08-06 02:59:38 +02:00
Brock Szuszczewicz
482d348230
Use Limits::min directly in scrollable::layout
2025-06-27 00:02:30 +02:00
Héctor Ramón Jiménez
3881d68b7e
Round translation to integral units in scrollable
2025-05-28 20:51:01 +02:00
Héctor Ramón Jiménez
7e4c02b3f6
Set is_scrollbar_visible to true by default
...
This should optimize the worst layout case—when
scrollables with a lot of content are first shown.
2025-05-03 04:24:07 +02:00
Héctor Ramón Jiménez
f78a87c409
Show embedded scrollbars only when necessary in scrollable
2025-05-03 04:15:18 +02:00
Héctor Ramón Jiménez
fae95d6095
Draft float widget and simplify image again 🎉
2025-04-29 22:34:09 +02:00
Héctor Ramón Jiménez
6c51a9579d
Make Overlay aware of viewport
...
... and unify `Image::float` and `Image::translate`
2025-04-26 02:52:57 +02:00
Héctor Ramón Jiménez
687750e026
Make grid sizing strategy explicit and more intuitive
2025-04-10 15:39:10 +02:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt
2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
7979125ed7
Simplify InputMethod API with only two states
...
Co-authored-by: rhysd <lin90162@yahoo.co.jp>
Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
2025-02-12 08:46:35 +01:00
KENZ
02cbe3cbb5
Fix scrolling offset of preedit window
2025-02-07 23:26:34 +09:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update
2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
50eaef2844
Merge branch 'master' into explore-input-method2
2025-02-03 17:24:05 +01:00
Héctor Ramón Jiménez
141290c740
Fix InputMethod conflicts with multiple scrollables
2025-02-03 17:12:08 +01:00
Héctor Ramón Jiménez
0c0651de5b
Introduce Levitating variant for mouse::Cursor
2025-02-03 05:45:51 +01:00
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API
2025-02-02 20:45:29 +01:00
KENZ
7db5256b72
Draft input_method support
2025-02-02 17:44:13 +01:00
Héctor Ramón Jiménez
8cac532cd9
Add horizontal helper to scrollable
2025-02-01 04:26:35 +01:00
Héctor Ramón Jiménez
ed0ffb5963
Revert automatic horizontal scroll in scrollable
2025-02-01 02:16:29 +01:00
Héctor Ramón Jiménez
7336a18443
Fix viewport when using nested scrollables
2025-02-01 01:04:36 +01:00
Héctor Ramón Jiménez
fb87c97159
Use Into<Id> for scrollable::Id arguments
2025-01-30 02:52:24 +01:00
Héctor Ramón Jiménez
eee3588181
Rename *_disabled to is_*_disabled in scrollable
2025-01-06 20:25:22 +01:00
Héctor Ramón Jiménez
cff3eb217f
Simplify scrollable disabled styling calculation
2025-01-06 20:23:26 +01:00
dtzxporter
8d9fe61d76
Migrate scrollbar disabled style status to iced 0.13.
...
Feel free to change the 'name' of it. I originally used 'disabled' to signal that it's not usable, but still visible. 'Overflowing' may be a better term.
2025-01-06 20:20:32 +01:00