Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This makes the NavBar toggle use
radius_s
for the button radius, to match designs. Adding a new enum value just for that feels a bit messy, but using Button::Custom feels potentially messier (and I'm not entirely sure how to do it). This could be removed if it's decided to useradius_s
for all header bar buttons in the future.Introduces aI removed this, since it caused the header elements to be off-center at the corners.horizontal_padding
field to the header bar, which is needed for the padding offset, but can also be used bycosmic-comp
to make window controls more centered in the SSD corners. Though this can be removed if it'll be eventually possible to set the borders on individual container sides, which would remove the need for the offset, and if SSDs should have the same horizontal padding of 8 as apps.Also fixes #743.
Edit: Also makes the styling of the dropdown closer to designs.