Héctor Ramón Jiménez
c723c101d4
Fix PaneGrid mouse interaction when clicking a pane
2024-02-27 02:19:41 +01:00
Héctor Ramón
8bb1587a74
Merge pull request #2298 from iced-rs/fix/row-column-fluidity
...
Fix `Column` and `Row` fluidity being overridden by `push`
2024-02-27 01:37:13 +01:00
Héctor Ramón Jiménez
01fbd5049d
Fix Column and Row fluidity being overridden by push
2024-02-27 01:21:02 +01:00
Héctor Ramón Jiménez
0b93ddcdbe
Add size_hint implementation for Tooltip
2024-02-27 01:19:48 +01:00
Héctor Ramón Jiménez
7d3735f0fa
Assert scrollable content size never fills scrolling axis
2024-02-24 19:46:44 +01:00
Héctor Ramón Jiménez
4742f3fef8
Use find(...) instead of filter(...).next()
2024-02-21 13:08:56 +01:00
Héctor Ramón Jiménez
680e8425c3
Prioritize text insertion in TextInput and TextEditor
2024-02-21 13:00:34 +01:00
Héctor Ramón Jiménez
cd2130a69a
Add size_hint method to Component trait
...
This can be used to aid the sizing strategy of
some containers directly in the component definition,
instead of stating the sizes explicitly in `view`
logic.
2024-02-21 08:24:08 +01:00
Rizzen Yazston
a2e034cea6
Fix horizontal_space and vertical_space docs
2024-02-19 09:44:22 +01:00
Héctor Ramón Jiménez
e60dabddef
Add from_vec method to Column and Row
2024-02-19 08:49:28 +01:00
Héctor Ramón Jiménez
9f0bbf6020
Add extend method to Column and Row
2024-02-19 08:42:58 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch
2024-02-15 03:22:53 +01:00
Héctor Ramón Jiménez
777e2e34f5
Fix documentation for qr_code widget helper
2024-02-15 02:47:35 +01:00
Héctor Ramón Jiménez
feab96f323
Add push_maybe to Column and Row
2024-02-15 02:38:07 +01:00
Héctor Ramón Jiménez
e8049af23d
Make horizontal_space and vertical_space fill by default
2024-02-15 02:08:22 +01:00
Héctor Ramón Jiménez
9dd20ead08
Rename password method in TextInput to secure
2024-02-15 02:01:56 +01:00
Héctor Ramón Jiménez
a73386f68e
Add clip property to Button
2024-02-15 01:35:55 +01:00
Héctor Ramón Jiménez
96775b1e55
Add clip property to Container, Column, and Row
2024-02-15 01:18:00 +01:00
Héctor Ramón Jiménez
f53cfb8efa
Use Borrow for both options and selected in PickList
2024-02-14 03:54:40 +01:00
Héctor Ramón Jiménez
508b3fe1f1
Introduce Kind in core::clipboard
2024-02-13 03:15:21 +01:00
Héctor Ramón Jiménez
0eaaeaa517
Simplify scrollable styling API
2024-02-12 19:24:09 +01:00
dtzxporter
0f920e0435
Introduce an appearance for a scrollable, ability to customize the scrollbar gap.
...
Update scrollable.rs
2024-02-12 19:03:32 +01:00
Héctor Ramón Jiménez
564ad95806
Fix leftover mentions of State in QRCode docs
2024-02-10 00:02:17 +01:00
Héctor Ramón Jiménez
b535f7ae38
Invalidate QRCode cache on Appearance change
2024-02-09 23:57:11 +01:00
Clark Moody
c2d82833a0
Styling for QR Code using theme framework
2024-02-09 23:43:01 +01:00
Héctor Ramón Jiménez
c53c3a71d3
Rename text_layout to tooltip_layout in Tooltip
2024-02-09 02:14:24 +01:00
Héctor Ramón Jiménez
a82cc783d9
Improve tooltip docs
2024-02-09 02:12:22 +01:00
Héctor Ramón Jiménez
cb9000ea2a
Use simple method call syntax in Tooltip
2024-02-09 02:11:24 +01:00
jhannyj
6bafdc4b3c
Add support for a generic Element in Tooltip
2024-02-09 02:10:07 +01:00
Héctor Ramón Jiménez
2ba73b0faf
Fix wrapped lines not being considered when measuring TextEditor
2024-02-07 21:48:28 +01:00
Dworv YT
8b492a9b44
feat: text-editor can shrink to content
2024-02-07 21:28:45 +01:00
Giuliano Bellini s294739
ae3f5ba1a3
add border widths to toggler stylesheet
2024-02-07 20:29:24 +01:00
Héctor Ramón Jiménez
8b22e0ebbc
Shorten properties in MouseArea
2024-02-07 12:05:47 +01:00
Héctor Ramón Jiménez
fef6fca369
Shorten some MouseArea methods
2024-02-07 12:02:56 +01:00
Héctor Ramón Jiménez
d756a9210a
Override MouseArea interaction only when contents are idle
2024-02-07 12:00:33 +01:00
vawvaw
bcdfbf4871
Add Interaction overriding to MouseArea
...
Add the ability to use a custom `iced:🐭 :Interaction` for a
`iced::widget::MouseArea`.
2024-02-07 11:56:43 +01:00
Héctor Ramón Jiménez
59a79e55d4
Rename PickList handlers for consistency
2024-02-06 00:10:54 +01:00
Rinat
6cf7c4645d
Add on_opened and on_closed handlers for PickList
2024-02-06 00:10:54 +01:00
Héctor Ramón Jiménez
8ea85f3b12
Use Fn instead of FnMut in MouseArea
...
... and simplify event logic a bit.
2024-02-03 18:05:40 +01:00
Remmirad
bd13c580f0
Fix lints
2024-02-03 17:52:48 +01:00
Remmirad
ce23498edf
Add mouse move events to MouseArea
2024-02-03 17:52:39 +01:00
Héctor Ramón Jiménez
719798441d
Fix clippy lints
2024-02-03 14:19:08 +01:00
Héctor Ramón Jiménez
db9ca1a147
Run cargo fmt
2024-02-03 14:18:11 +01:00
Radovan Blažek
79a348464e
Improve TextEditor slow scrolling behavior with touchpads.
...
If you scroll by only a fraction of a line, the TextEditor
stores this fraction and adds it on the next scroll event.
2024-02-03 14:14:50 +01:00
Héctor Ramón Jiménez
a06682ff42
Use with_translation wherever possible
2024-02-02 14:31:17 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait
2024-02-02 02:24:45 +01:00
Héctor Ramón Jiménez
9b8614a4e2
Implement transform method for Geometry
2024-02-02 01:53:28 +01:00
Héctor Ramón Jiménez
021faf20ea
Simplify draw logic in Checkbox
2024-02-01 13:24:58 +01:00
Héctor Ramón Jiménez
faeb4536b3
Simplify on_toggle_maybe for Checkbox
2024-02-01 13:22:14 +01:00
Héctor Ramón Jiménez
8a0632d5ba
Simplify checkbox example
2024-02-01 13:16:34 +01:00