summaryrefslogtreecommitdiffstats
path: root/native/src/layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-044-688/+0
|
* Use `f32` for `Padding`Libravatar Héctor Ramón Jiménez2023-02-172-5/+2
|
* Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-21/+16
|
* Stop using `f32::clamp` altogether in `layout::Limits`Libravatar Héctor Ramón Jiménez2023-01-051-7/+9
|
* Fix `Layout::resolve` panicking under some circumstancesLibravatar Héctor Ramón Jiménez2023-01-051-2/+7
| | | | When `fill` has a bigger `Size` than `max`.
* Fix `clippy` lints for Rust 1.66Libravatar Héctor Ramón Jiménez2022-12-201-14/+8
|
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-10/+12
|
* Simplify `component` implementation in `iced_lazy`Libravatar Héctor Ramón Jiménez2021-12-131-1/+9
|
* Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-141-24/+0
|
* Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-202-26/+23
|
* Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez2021-09-202-22/+30
|
* Improve readability of Align::Fill branchingLibravatar Cory Forsstrom2021-09-201-34/+22
|
* Calc fill cross and use for all childrenLibravatar Cory Forsstrom2021-09-201-29/+55
|
* Add Align::Fill variantLibravatar Cory Forsstrom2021-09-202-13/+55
|
* Use `Padding::horizontal` and `Padding::vertical` helpersLibravatar Héctor Ramón2021-06-011-2/+2
|
* Add support for asymmetrical paddingLibravatar Ben LeFevre2021-06-012-8/+13
|
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-264-57/+2
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez2020-10-281-1/+2
| | | | | This should eventually allow us to only generate primitives that are visible.
* Implement `padding` support for `Container`Libravatar Héctor Ramón Jiménez2020-03-311-4/+1
|
* Merge pull request #91 from nvzqz/const-all-the-thingsLibravatar Héctor Ramón2020-03-062-3/+3
|\ | | | | Make many functions `const`
| * Remove counterintuitive constant functionsLibravatar Héctor Ramón Jiménez2020-03-062-4/+4
| |
| * Make many functions `const`Libravatar Nikolai Vazquez2019-11-292-7/+7
| | | | | | | | | | | | | | | | The point is to set up repeated components or boilerplate before their use sites. The majority of these make sense as `const`. However, some functions such as those regarding state may not make sense as `const`.
* | Improve documentation for new `Node` methodsLibravatar Héctor Ramón Jiménez2020-02-141-6/+5
| |
* | Revert changing the constructor and implement new method.Libravatar daxpedda2020-02-142-11/+17
| |
* | Add `bound` to `Node` constructor.Libravatar daxpedda2020-02-142-5/+6
| |
* | Make `Node::align` public.Libravatar daxpedda2020-02-141-1/+5
| |
* | Merge pull request #150 from hecrj/refactor/move-renderer-traitsLibravatar Héctor Ramón2020-01-101-0/+26
|\ \ | | | | | | Move `Debugger` and `Windowed` traits
| * | Move `Debugger` and `Windowed` to a better locationLibravatar Héctor Ramón Jiménez2020-01-101-0/+26
| | | | | | | | | | | | | | | We move `renderer::Debugger` to `layout::Debugger` and `renderer::Windowed` to `window::Renderer`.
* | | Fix flex layout cross-alignment when not filledLibravatar Héctor Ramón Jiménez2020-01-102-1/+9
|/ /
* | Merge pull request #137 from hecrj/feature/fill-portionLibravatar Héctor Ramón2019-12-311-2/+2
|\ \ | | | | | | Add `Length::FillPortion` variant
| * | Add `Length::FillPortion` variantLibravatar Héctor Ramón Jiménez2019-12-301-2/+2
| | | | | | | | | | | | | | | It allows to specify the amount of available space an element should take relative to other elements.
* | | Subtract size of previous elements in flex layoutLibravatar Héctor Ramón Jiménez2019-12-301-5/+9
|/ /
* / Fix sneaky bug with padding in flex layoutLibravatar Héctor Ramón Jiménez2019-12-211-6/+3
|/
* Write docs for `iced` and `iced_native`Libravatar Héctor Ramón Jiménez2019-11-223-9/+91
|
* Remove `padding` from `Container` for nowLibravatar Héctor Ramón Jiménez2019-11-111-2/+6
|
* Implement `Container` widgetLibravatar Héctor Ramón Jiménez2019-11-113-26/+69
| | | | Remove `align_self` and `justify_content` methods
* Fix integer overflow in `flex::resolve`Libravatar Héctor Ramón Jiménez2019-11-111-1/+2
|
* Draft custom layout engine based on `druid`Libravatar Héctor Ramón Jiménez2019-11-114-3/+522
|
* Draft new layout APILibravatar Héctor Ramón Jiménez2019-11-101-0/+6