summaryrefslogtreecommitdiffstats
path: root/examples/layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez2025-02-212-3/+3
|
* Add helper functions for alignment to `widget` moduleLibravatar Héctor Ramón Jiménez2025-01-241-6/+5
|
* Make `pin` widget `Fill` parent by defaultLibravatar Héctor Ramón Jiménez2024-11-221-2/+2
|
* Implement `pin` widgetLibravatar Héctor Ramón Jiménez2024-11-221-1/+23
|
* Fix flex layout of `Fill` elements in a `Shrink` cross axisLibravatar Héctor Ramón Jiménez2024-09-211-3/+37
| | | | | | Instead of collapsing, the `Fill` elements will fill the cross space allocated by the other `Shrink` elements present in the container.
* Implement `row::Wrapping` widgetLibravatar Héctor Ramón Jiménez2024-08-061-3/+4
| | | | | | | | | If you have a `Row`, simply call `Row::wrap` at the end to turn it into a `Row` that will wrap its contents. The original alignment of the `Row` is preserved per row wrapped.
* Make `container::Style` API more consistentLibravatar Héctor Ramón Jiménez2024-07-201-2/+3
|
* Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez2024-07-121-9/+9
|
* Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez2024-07-121-6/+6
|
* Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez2024-06-191-1/+1
|
* Ask for explicit `Length` in `center_*` methodsLibravatar Héctor Ramón Jiménez2024-05-131-1/+1
|
* Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-031-15/+5
| | | | | | | | ... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
* Use `Catalog` approach for all widgetsLibravatar Héctor Ramón Jiménez2024-03-241-4/+4
|
* Move `Program` to `application` moduleLibravatar Héctor Ramón Jiménez2024-03-171-1/+1
|
* Remove `sandbox` by making `application` more generic :tada:Libravatar Héctor Ramón Jiménez2024-03-161-1/+1
|
* Make `sandbox` helper take a `title` as wellLibravatar Héctor Ramón Jiménez2024-03-161-2/+1
|
* Introduce `Program` APILibravatar Héctor Ramón Jiménez2024-03-161-25/+10
|
* Rename `container::box_` to `rounded_box`Libravatar Héctor Ramón Jiménez2024-03-081-1/+1
|
* Simplify theming for `Container` widgetLibravatar Héctor Ramón Jiménez2024-03-051-4/+3
|
* Remove complex cross-axis layout logic from `Column` and `Row`Libravatar Héctor Ramón Jiménez2024-03-031-39/+3
|
* Make `horizontal_space` and `vertical_space` fill by defaultLibravatar Héctor Ramón Jiménez2024-02-151-5/+5
|
* Use `Borrow` for both `options` and `selected` in `PickList`Libravatar Héctor Ramón Jiménez2024-02-141-5/+1
|
* Introduce support for disabling a `checkbox`Libravatar Alexander van Saase2024-02-011-1/+2
|
* Refactor `KeyCode` into `Key` and `Location`Libravatar Héctor Ramón Jiménez2024-01-161-3/+7
|
* Use multiple squares instead of `vertical_space` in `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-4/+14
|
* Showcase more layouts in `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-102-14/+132
|
* Add `Theme` selector to `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-4/+16
|
* Add `explain` toggle to `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-11/+53
|
* Use `flatten` instead of `filter_map` in `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-1/+1
|
* Add basic controls to `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-14/+53
|
* Use first-class functions in `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-60/+83
|
* Introduce `Widget::size_hint` and fix further layout inconsistenciesLibravatar Héctor Ramón Jiménez2024-01-101-1/+1
|
* Create `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-102-0/+132