summaryrefslogtreecommitdiffstats
path: root/widget (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use `Fn` instead of `FnMut` in `MouseArea`Libravatar Héctor Ramón Jiménez2024-02-031-39/+31
| | | | ... and simplify event logic a bit.
* Fix lintsLibravatar Remmirad2024-02-031-4/+4
|
* Add mouse move events to `MouseArea`Libravatar Remmirad2024-02-031-2/+73
|
* Fix `clippy` lintsLibravatar Héctor Ramón Jiménez2024-02-031-3/+4
|
* Run `cargo fmt`Libravatar Héctor Ramón Jiménez2024-02-031-1/+3
|
* Improve `TextEditor` slow scrolling behavior with touchpads.Libravatar Radovan Blažek2024-02-031-14/+17
| | | | | If you scroll by only a fraction of a line, the TextEditor stores this fraction and adds it on the next scroll event.
* Use `with_translation` wherever possibleLibravatar Héctor Ramón Jiménez2024-02-023-38/+29
|
* Introduce `with_transformation` to `Renderer` traitLibravatar Héctor Ramón Jiménez2024-02-024-25/+33
|
* Implement `transform` method for `Geometry`Libravatar Héctor Ramón Jiménez2024-02-021-0/+1
|
* Simplify `draw` logic in `Checkbox`Libravatar Héctor Ramón Jiménez2024-02-011-8/+6
|
* Simplify `on_toggle_maybe` for `Checkbox`Libravatar Héctor Ramón Jiménez2024-02-011-2/+1
|
* Simplify `checkbox` exampleLibravatar Héctor Ramón Jiménez2024-02-011-1/+1
|
* Introduce support for disabling a `checkbox`Libravatar Alexander van Saase2024-02-012-19/+44
|
* Remove `position` from `overlay::Element`Libravatar Héctor Ramón Jiménez2024-02-0118-153/+150
|
* Fix documentation of `default` method for `slider`Libravatar Héctor Ramón Jiménez2024-01-312-2/+4
|
* Rename `step_fine` in `slider` to `shift_step`Libravatar Héctor Ramón Jiménez2024-01-312-23/+25
|
* Simplify `slider` logic furtherLibravatar Héctor Ramón Jiménez2024-01-312-40/+42
|
* Simplify `Change` enum in `slider` logic and remove double-click behaviorLibravatar Héctor Ramón Jiménez2024-01-312-118/+35
|
* Enhance `Slider` and `VerticalSlider` functionalityLibravatar Jonatan Pettersson2024-01-312-31/+296
| | | | | | | | | | | | | * 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
* Avoid returning early on `Captured` event in `scrollable`Libravatar Héctor Ramón Jiménez2024-01-311-10/+10
| | | | Co-authored-by: Austin M. Reppert <austinmreppert@gmail.com>
* Add cut functionality to text editorLibravatar jhannyj2024-01-251-0/+12
|
* Fix impossible to type `v` in `TextInput`Libravatar Héctor Ramón Jiménez2024-01-221-34/+29
|
* Introduce `themer` widgetLibravatar Héctor Ramón Jiménez2024-01-213-2/+284
|
* Convert `Renderer::Theme` to generic `Widget` typeLibravatar Héctor Ramón Jiménez2024-01-2139-801/+865
|
* Add `Shadow` to `container::Appearance`Libravatar Héctor Ramón Jiménez2024-01-202-4/+6
|
* Add `Shadow` to `button::Appearance`Libravatar Héctor Ramón Jiménez2024-01-201-1/+5
|
* Introduce `Border` struct analogous to `Shadow`Libravatar Héctor Ramón Jiménez2024-01-2015-96/+67
|
* Use `Default` implementation of `renderer::Quad`Libravatar Héctor Ramón Jiménez2024-01-2015-83/+43
|
* feat: quad shadowsLibravatar Nick Senger2024-01-2015-0/+31
|
* Merge pull request #2163 from hicaru/svg_hoverLibravatar Héctor Ramón2024-01-181-2/+7
|\ | | | | added svg hover, for styles impl
| * Fix `Svg` stylingLibravatar Héctor Ramón2024-01-091-2/+2
| |
| * added svg hover, for styles implLibravatar hicaru2023-12-121-2/+7
| |
* | Refactor `KeyCode` into `Key` and `Location`Libravatar Héctor Ramón Jiménez2024-01-163-59/+76
| |
* | Merge branch 'master' into update-winitLibravatar Héctor Ramón Jiménez2024-01-1636-447/+498
|\ \
| * \ Merge pull request #2192 from iced-rs/fix/layout-inconsistenciesLibravatar Héctor Ramón2024-01-1234-406/+390
| |\ \ | | | | | | | | Layout consistency
| | * | Make `Button` sizing strategy adaptiveLibravatar Héctor Ramón Jiménez2024-01-112-13/+8
| | | |
| | * | Add `Theme` selector to `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-102-4/+4
| | | |
| | * | Fix `cross` calculation in `layout::flex`Libravatar Héctor Ramón Jiménez2024-01-101-1/+0
| | | |
| | * | Fix unnecessary `into` call in `Container::new`Libravatar Héctor Ramón Jiménez2024-01-101-1/+1
| | | |
| | * | Make `column` and `row` take an `IntoIterator`Libravatar Héctor Ramón Jiménez2024-01-103-10/+8
| | | |
| | * | Fix `size_hint` for `keyed_column`Libravatar Héctor Ramón Jiménez2024-01-102-20/+26
| | | |
| | * | Introduce useful helpers in `layout` moduleLibravatar Héctor Ramón Jiménez2024-01-1017-84/+50
| | | |
| | * | Replace `width` and `height` with `Widget::size`Libravatar Héctor Ramón Jiménez2024-01-1031-195/+152
| | | |
| | * | Introduce `Widget::size_hint` and fix further layout inconsistenciesLibravatar Héctor Ramón Jiménez2024-01-106-32/+99
| | | |
| | * | Create `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-102-2/+2
| | | |
| | * | Fix needless borrow in `row::layout`Libravatar Héctor Ramón Jiménez2024-01-041-1/+1
| | | |
| | * | Make `Shrink` have priority over `Fill` in layoutLibravatar Héctor Ramón Jiménez2024-01-0424-115/+111
| | | |
| * | | Fix clipping of `TextInput` selectionLibravatar Héctor Ramón Jiménez2024-01-121-23/+31
| | | |
| * | | Fix doc to include missing feature tagsLibravatar William Shere2024-01-051-0/+3
| |/ / | | | | | | | | | Helper functions behind `lazy` feature were missing the tag in the documentation.
| * | Merge pull request #2168 from jhff/fix/pane_grid_top_edge_clickLibravatar Héctor Ramón2024-01-042-18/+68
| |\ \ | | | | | | | | [Fix] `PaneGrid` click interaction on the top edge