-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: per-side border widths * refactor: make `BorderWidth::is_all_zero` more sane * fix: wrong operator in `is_all_zero` * implement parsing for per-side widths * feat: impl `Display` for `Border` * fix lints * fix another lint * chore: fmt * fix tests * fix: add `RRect::rect` to mocked engine * chore: improve border test coverage * fix: border test assertion * fix: radius offset calculations for different border alignments * clean up border drawing code * fmt * revert needless `get_rounded_rect` name change * format * add `PathFillType` to mocked engine * remove `border_align` and place it in main syntax * add support for multiple borders per element * mock `Path::set_fill_type` * update docs * update `border` attribute documentation * fix some poor wording in the border docs * fmt * fix jagged antialiasing on borders * lint * fmt * mock `Canvas::draw_drrect` and `RRect::bounds` * update border example * fix borders not rendering with no background * feat: per-side border widths (#836) * feat: per-side border widths * refactor: make `BorderWidth::is_all_zero` more sane * fix: wrong operator in `is_all_zero` * implement parsing for per-side widths * feat: impl `Display` for `Border` * fix lints * fix another lint * chore: fmt * fix tests * fix: add `RRect::rect` to mocked engine * chore: improve border test coverage * fix: border test assertion * fix: radius offset calculations for different border alignments * clean up border drawing code * fmt * revert needless `get_rounded_rect` name change * format * add `PathFillType` to mocked engine * mock `Path::set_fill_type` * update docs * fix jagged antialiasing on borders * lint * mock `Canvas::draw_drrect` and `RRect::bounds` * simplify border visibility check Co-authored-by: Marc Espin <[email protected]> --------- Co-authored-by: Marc Espin <[email protected]> * fix: checkbox component * feat: per-side border widths * refactor: make `BorderWidth::is_all_zero` more sane * fix: wrong operator in `is_all_zero` * implement parsing for per-side widths * feat: impl `Display` for `Border` * fix lints * fix another lint * chore: fmt * chore: improve border test coverage * fix: border test assertion * fix: radius offset calculations for different border alignments * clean up border drawing code * fmt * revert needless `get_rounded_rect` name change * format * remove `border_align` and place it in main syntax * add support for multiple borders per element * update docs * update `border` attribute documentation * fix some poor wording in the border docs * fmt * fix jagged antialiasing on borders * lint * fmt * update border example * fix borders not rendering with no background * fix: stray `border_align` --------- Co-authored-by: Marc Espin <[email protected]>
- Loading branch information
Showing
25 changed files
with
197 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.