Héctor Ramón Jiménez
ed11b04f60
Fix height of vertical scroller in Scrollbar
2023-09-14 22:59:02 +02:00
Héctor Ramón Jiménez
2c782bbe7a
Fix width of horizontal scrollbar in Scrollable
2023-09-14 19:35:29 +02:00
Thomas
90bd581d8e
Fix ComboBox widget panic on wasm
2023-09-10 10:18:58 +02:00
Héctor Ramón Jiménez
bc1bde0d5c
Fix ComboBox widget not displaying selection text
2023-09-10 03:36:31 +02:00
Héctor Ramón Jiménez
6d379b7fce
Fix unnecessary dereference in Tooltip
2023-09-10 03:16:55 +02:00
Héctor Ramón Jiménez
b329950a42
Fix Tooltip widget state management
2023-09-10 03:15:31 +02:00
Héctor Ramón Jiménez
df72fd1095
Fix Widget::layout implementation of MouseArea
2023-09-10 03:04:02 +02:00
Héctor Ramón Jiménez
c692845744
Fix broken intradoc link in widget::keyed module
2023-09-10 00:44:58 +02:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching
2023-09-10 00:34:21 +02:00
Héctor Ramón Jiménez
f60884f6f8
Deny broken_intradoc_links and verify documentation in CI
2023-09-09 20:58:45 +02:00
Matthias Vogelgesang
89d9f1d7d2
Fix majority of unresolved documentation links
2023-09-09 18:59:17 +02:00
Héctor Ramón Jiménez
3cc605b70f
Implement Icon support for TextInput
2023-09-09 12:36:00 +02:00
Héctor Ramón Jiménez
d2294737c2
Use Radians as a number directly in gradient example
2023-09-08 01:58:52 +02:00
Héctor Ramón
b5e7fb240c
Merge pull request #2070 from ripytide/master
...
Added a Frame::scale_nonuniform method
2023-09-07 06:03:41 +02:00
Héctor Ramón Jiménez
09965b686e
Make scale methods in Frame generic over f32 and Vector
2023-09-07 05:51:39 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +02:00
Nick
e5afaa0892
Add access to bounds/content bounds from a scrollable viewport. ( #2072 )
...
* Add access to bounds/content bounds from a scrollable viewport in order to perform certain scrollable optimizations as a consumer.
* Move bounds/content_bounds after relative_offset as per feedback.
2023-09-07 01:50:59 +00:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
34495bba1c
Introduce keyed::Column widget
2023-09-04 02:55:09 +02:00
Nick
aed06ac208
Support automatic style type casting for Buttons.
...
Changes the signature of Button::style to use `impl Into<...>` instead of taking the style sheet itself. (Matches other widgets).
2023-09-03 08:38:49 +02:00
Héctor Ramón Jiménez
601e5563d1
Fix Widget::layout for Lazy
2023-09-01 04:15:59 +02:00
Héctor Ramón Jiménez
548b9d0294
Fix Widget::layout for Component
2023-09-01 04:15:09 +02:00
Héctor Ramón Jiménez
bcd9fdb521
Simplify new logic in TextInput
2023-08-30 06:43:45 +02:00
Héctor Ramón Jiménez
a026e917d3
Make widget::Tree mutable in Widget::layout
2023-08-30 06:36:24 +02:00
Héctor Ramón Jiménez
301e6e5fdc
Reduce default spacing of Checkbox
2023-08-30 05:34:17 +02:00
Héctor Ramón Jiménez
ffd0f4df45
Add some default spacing for Toggler
2023-08-30 05:34:01 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree
2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
8ed06dc356
Fix clippy lints for Rust 1.72
2023-08-26 01:34:42 +02:00
Héctor Ramón Jiménez
36120d5685
Run cargo fmt with Rust 1.72
2023-08-26 01:31:11 +02:00
Casper Rogild Storm
c81f4676fb
ensure no paste with alt
2023-08-05 21:47:02 +02:00
Héctor Ramón Jiménez
085842e765
Remove unnecessary comment in image::viewer
2023-08-03 20:18:31 +02:00
Malcolm Ramsay
004a1f3848
fix: Check cursor in bounds when scrolling image::Viewer
...
Ensure that the cursor is within the bounds of the image::Viewer when
performing the scrolling.
Fixes #1997
2023-08-03 08:42:46 +09:30
Héctor Ramón Jiménez
8a589084e1
Bump version of iced_widget 🎉
2023-08-02 22:29:24 +02:00
Casper Rogild Storm
e1da5fa635
Update widget/src/combo_box.rs
...
Co-authored-by: Héctor Ramón <hector0193@gmail.com>
2023-07-31 23:07:35 +02:00
Casper Rogild Storm
32a95171d2
cycle combobox with keybinds
2023-07-31 22:59:42 +02:00
Héctor Ramón Jiménez
50ce65b3b7
Bump version of iced_widget 🎉
2023-07-29 20:08:07 +02:00
Héctor Ramón Jiménez
16a8a494a4
Fix Tooltip overlay position inside Scrollable
2023-07-29 19:48:04 +02:00
Héctor Ramón Jiménez
7c772c35fe
Enable all features for iced_widget in docs.rs
2023-07-28 19:59:31 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉
2023-07-28 19:48:39 +02:00
Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container
2023-07-27 01:04:18 +02:00
Héctor Ramón Jiménez
e29754f32d
Rename on_selection to on_option_hovered in combo_box
2023-07-26 22:53:53 +02:00
Héctor Ramón Jiménez
28d32a8b64
Fix on_option_hovered support in ComboBox
2023-07-26 22:34:56 +02:00
Héctor Ramón Jiménez
9eb2889d09
Use default padding of TextInput in ComboBox
2023-07-26 22:33:33 +02:00
Héctor Ramón Jiménez
14fb723eec
Add Viewport to on_event for ComboBox
2023-07-26 22:01:17 +02:00
Joao Freitas
7fe3389cf1
Swap unwrap_or_else to unwrap_or_default
2023-07-26 21:59:42 +02:00
Joao Freitas
dd5ef8b908
Add ComboBox widget
...
- Widget implementation
- Widget helper
- Example
2023-07-26 21:59:42 +02:00
Cory Forsstrom
42c423b4a8
Add viewport to Widget::on_event
2023-07-15 10:04:25 -07:00
Cory Forsstrom
44c0732306
Restart animation when regaining focus
2023-07-13 12:24:15 -07:00
Cory Forsstrom
66d6710663
Dont blink input cursor when window loses focus
2023-07-13 12:16:48 -07:00
Héctor Ramón Jiménez
d367584057
Avoid redundant max in absolute_offset_reversed
...
I believe `Offset::absolute` guarantees the offset never exceeds the
maximum scrolling boundaries already.
2023-07-13 03:01:53 +02:00