| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
| |
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It allows to specify the amount of available space an element should
take relative to other elements.
|
|
|
|
|
| |
- Implements `TextInput`, `Scrollable`, and `Container`
- Adds basic style generation
|
|
|
|
| |
Also made fields private and improved `Renderer` traits.
|
|
|
|
| |
For now, we will simply assume images will be loaded from a given path.
|
| |
|
| |
|
| |
|
|
|