summaryrefslogtreecommitdiffstats
path: root/web/src/widget (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use data urls instead of blob URLsLibravatar Liam Murphy2021-04-101-15/+6
| | | | I didn't do this originally because I was half doing it in the first place to mess with Blob URLs, and it feels kinda wrong to be encoding it as base64 when that option is available. But not having memory leaks is more important.
* fix: Don't rely on image handle not being droppedLibravatar Liam Murphy2021-03-211-36/+21
| | | | It now causes a memory leak, though. :/
* feat(web): Support in-memory image dataLibravatar Liam Murphy2021-03-211-0/+39
| | | | | | I had to create two methods which basically do the same thing, `from_memory` and `from_slice`, but `from_memory` takes ownership of the bytes to be compatible with `iced_native`. Also, `Data` is incompatible, because if I stored the bytes in `Data` and created a new object URL every render, it would have caused a memory leak because bumpalo doesn't call destructors and there'd be no way to call URL.revokeObjectUrl on it. It's also more efficient this way.
* Allow dead code explicitly in `iced_web`Libravatar Héctor Ramón Jiménez2021-02-166-0/+8
|
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-2613-218/+0
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Use `String::from_str_in` in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-016-40/+67
|
* Merge pull request #292 from TomPridham/feature/accessibility-webLibravatar Héctor Ramón2020-07-013-10/+79
|\ | | | | add some accessibility features to web widgets
| * Fix empty `id` and `name` attributes in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-012-23/+37
| |
| * add some accessibility features to web widgetsLibravatar Tom Pridham2020-04-213-6/+61
| |
* | Update `Slider` docs in `iced_web`Libravatar Héctor Ramón Jiménez2020-06-131-1/+2
| |
* | Make `Slider` value generic in `iced_web`Libravatar Héctor Ramón Jiménez2020-06-131-21/+40
| |
* | Add `step` member to slider widgetsLibravatar Sebastian Zivota2020-06-111-2/+14
|/ | | | | | Both the native and the web slider now have a member `step` to control the least possible change of the slider's value. It defaults to 1.0 for all sliders and can be adjusted with the step method.
* Fix `Checkbox` and `Radio` API in `iced_web`Libravatar Héctor Ramón Jiménez2020-04-142-4/+9
|
* Implement `padding` support for `Container`Libravatar Héctor Ramón Jiménez2020-03-311-1/+14
|
* Implement `Column` and `Row` changes in `iced_web`Libravatar Héctor Ramón Jiménez2020-03-172-24/+6
|
* Instantiate Column and Row with childrenLibravatar Rowun Giles2020-03-162-0/+32
|
* Add `font-family` to `Text` style in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-2/+6
|
* Implement `TextInput::on_submit` support in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-2/+22
|
* Implement `TextInput` styling in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-13/+17
|
* Fix `ProgressBar` doc example in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-4/+3
|
* Implement `Container` styling in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-14/+15
|
* Add style to `TextInput` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-0/+10
|
* Fix `Column` and `Row` styling for `iced_web`Libravatar Héctor Ramón Jiménez2020-02-062-22/+12
|
* Fix `Checkbox` styling in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-4/+18
|
* Fix `Button` styling in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-7/+4
|
* Implement `ProgressBar` widget in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-0/+125
|
* Expose styling types for `container` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-0/+12
|
* Expose styling types for `radio` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-6/+8
|
* Expose styling types for `checkbox` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-7/+20
|
* Expose missing widget modules in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-064-0/+6
|
* Expose styling types for `scrollable` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-2/+14
|
* Expose styling types for `slider` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-1/+13
|
* Add `From<String>` for `image::Handle` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-0/+6
|
* Add `Handle` and `Data` to `image` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-051-5/+78
|
* Support styling for `Button` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-054-24/+42
|
* Rename module `style` to `css` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-0512-54/+54
|
* Support event subscriptions in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-045-16/+10
| | | | Also improves the overall web runtime, avoiding nested update loops.
* Remove `Message: Clone` bound in some web widgetsLibravatar Héctor Ramón Jiménez2020-01-134-10/+13
|
* Merge branch 'master' into feature/shrink-by-defaultLibravatar Héctor Ramón Jiménez2020-01-093-1/+84
|\
| * add(web): support password fieldLibravatar Songtronix2020-01-031-0/+14
| |
| * Merge pull request #138 from hecrj/feature/empty-widgetLibravatar Héctor Ramón2019-12-311-0/+69
| |\ | | | | | | `Space` widget
| | * Rename `Empty` widget to `Space`Libravatar Héctor Ramón Jiménez2019-12-301-25/+24
| | |
| | * Implement `Empty` widgetLibravatar Héctor Ramón Jiménez2019-12-301-0/+70
| | | | | | | | | | | | It can be useful if you want to fill some space with nothing.
| * | Add `Length::FillPortion` variantLibravatar Héctor Ramón Jiménez2019-12-301-1/+1
| |/ | | | | | | | | It allows to specify the amount of available space an element should take relative to other elements.
* / Make `Row`, `Column`, and `Checkbox` shrink by defaultLibravatar Héctor Ramón Jiménez2019-12-303-3/+3
|/
* Merge pull request #128 from Gohla/fix_unnecessary_boundLibravatar Héctor Ramón2019-12-181-1/+1
|\ | | | | Remove unnecessary bound in iced_web Container
| * Fix unnecessary bound in web.Libravatar Gabriel Konat2019-12-181-1/+1
| |
* | Add several missing style attributes in iced_web.Libravatar Gabriel Konat2019-12-185-7/+26
|/
* Make `Button::background` genericLibravatar Héctor Ramón Jiménez2019-12-051-2/+2
|
* Style `Button` min-width in `iced_web`Libravatar Héctor Ramón Jiménez2019-11-241-10/+5
|