Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["stable", "1.80.0"]
version: ["stable", "1.81.0"]
os: ["ubuntu-22.04", "windows-latest", "macos-latest"]
runs-on: ${{ matrix.os }}
steps:
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
value containers.
- `cushy::value::CallbackDisconnected` and `cushy::value::CallbackHandle` are
now exported from `cushy::reactive`.
- Cushy now generically supports `HorizontalAlignment` and `VerticalAlignment`
of widgets contained within other widgets. Additionally, baseline vertical
alignment support has been added to make it simple to align widgets vertically
based on the content of the widget. To support this, many APIs have required
changes:

- `Widget::layout()` and `LayoutContext::layout()` now returns `WidgetLayout`.
- `IndicatorBehavior::size()` has been renamed to
`IndicatorBehavior::layout()` and now returns `WidgetLayout`.
- `WrappedLayout` now has the field `baseline: Baseline`.
- `WrappedLayout::aligned` now accepts `Into<WidgetLayout>` for its first
parameter. This should be mostly compatible with existing code.
- `WrapperWidget::position_child` now accepts a `WidgetLayout` instead of a
`Size<UPx>` as its first parameter.
- `Button`'s label is automatically centered horizontally using a new style
component: `ButtonLabelAlignment`.

### Changed

Expand Down
Loading
Loading