Commit Graph

4 Commits

Author SHA1 Message Date
Olivier FAURE 1b70937ed1 Tweak reexports 2025-03-29 10:54:50 +01:00
Olivier FAURE e7d09105e2 Add BackgroundGradient property 2025-03-29 10:51:53 +01:00
Olivier FAURE fad997afa5
Add Properties to Button (#892)
Depends on #904.

Add BackgroundColor, BorderColor, BorderWidth, CornerRadius and Padding
properties.
Modularize button painting code.
Paint border after background to get slightly better border appearance.
Update screenshots.
Add screenshot test using properties.
2025-03-29 09:43:22 +00:00
Olivier FAURE 6fe84201b0
Split most of the masonry crate into masonry_core sub-crate. (#910)
This change is done very carefully to minimize the number of changed
files, and use almost only file renames.
This is both for avoiding merge conflicts, keeping file history
unbroken, and keeping the PR easy to review.

A future PR will rename masonry to masonry_core, masonry_winit to
masonry change all the doc tests and snapshots that depend on those
names, etc.

After *that*, future PRs will have actual code changes splitting winit
away from masonry_core.
2025-03-26 12:00:46 +00:00