Commit graph

221 commits

Author SHA1 Message Date
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
Alexander van Saase
b5f1ca1695
Introduce support for disabling a checkbox 2024-02-01 13:16:28 +01:00
Héctor Ramón Jiménez
738aa47547
Remove position from overlay::Element 2024-02-01 01:08:21 +01:00
Héctor Ramón Jiménez
55791e45eb
Fix documentation of default method for slider 2024-01-31 21:58:21 +01:00
Héctor Ramón Jiménez
cd03a0dd24
Rename step_fine in slider to shift_step 2024-01-31 21:53:29 +01:00
Héctor Ramón Jiménez
66f8cf8215
Simplify slider logic further 2024-01-31 21:48:34 +01:00
Héctor Ramón Jiménez
00716a159a
Simplify Change enum in slider logic and remove double-click behavior 2024-01-31 21:38:16 +01:00
Jonatan Pettersson
5e2b3d4a51
Enhance Slider and VerticalSlider functionality
* Add optional default behavior
  * Add a `default` field
  * Add a `default()` method to set the `default` field
  * A double-click, ctrl-click or command-click will set the slider to the default value
* Add optional fine-grained control
  * Add an optional `step_fine` field
  * Add a `step_fine()` method to set the `step_fine` field
  * Use `step_fine` in place of `step` while shift is pressed
* Add increment/decrement via up/down keys
* Update `Slider` and `VerticalSlider` examples
2024-01-31 21:25:19 +01:00
Héctor Ramón Jiménez
d72ac36a0f
Avoid returning early on Captured event in scrollable
Co-authored-by: Austin M. Reppert <austinmreppert@gmail.com>
2024-01-31 18:46:29 +01:00
jhannyj
feccf15e15 Add cut functionality to text editor 2024-01-25 20:55:51 -05:00
Héctor Ramón Jiménez
b544c90812
Fix impossible to type v in TextInput 2024-01-22 14:30:40 +01:00
Héctor Ramón Jiménez
e695f7a04c
Introduce themer widget 2024-01-21 19:02:01 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
bf375587aa
Add Shadow to container::Appearance 2024-01-20 13:34:07 +01:00
Héctor Ramón Jiménez
e736038d5f
Add Shadow to button::Appearance 2024-01-20 13:32:19 +01:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow 2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
370b2f6df7
Use Default implementation of renderer::Quad 2024-01-20 12:25:07 +01:00
Nick Senger
cc906c83cd
feat: quad shadows 2024-01-20 11:59:37 +01:00
Héctor Ramón
61e3d8502f
Merge pull request #2163 from hicaru/svg_hover
added svg hover, for styles impl
2024-01-18 03:46:13 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location 2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
534c7dd7b0
Merge branch 'master' into update-winit 2024-01-16 12:02:42 +01:00
Héctor Ramón
50c310fd9f
Merge pull request #2192 from iced-rs/fix/layout-inconsistencies
Layout consistency
2024-01-12 14:41:40 +01:00
Héctor Ramón Jiménez
5315e04a26
Fix clipping of TextInput selection 2024-01-12 13:34:14 +01:00
Héctor Ramón Jiménez
03c901d49b
Make Button sizing strategy adaptive 2024-01-11 06:12:19 +01:00
Héctor Ramón Jiménez
3850a46db6
Add Theme selector to layout example 2024-01-10 10:01:51 +01:00
Héctor Ramón Jiménez
88f8c343fa
Fix cross calculation in layout::flex 2024-01-10 10:01:50 +01:00
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
b083eda663
Fix Svg styling 2024-01-09 02:03:13 +01:00
William Shere
6c9dfbf01e Fix doc to include missing feature tags
Helper functions behind `lazy` feature were missing the tag in the documentation.
2024-01-05 13:50:38 +00: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
Héctor Ramón Jiménez
e819c2390b
Update winit to 0.29.4 2023-12-15 13:39:00 +01:00
Joao Freitas
116fb666b0
Add deadband distance before initiating drag action on pane grid 2023-12-15 10:29:43 +00:00
hicaru
b54f27d30d added svg hover, for styles impl 2023-12-12 14:02:15 +05: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