Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YaruBanner: generalize padding & fix RTL #432

Merged
merged 1 commit into from Nov 30, 2022
Merged

YaruBanner: generalize padding & fix RTL #432

merged 1 commit into from Nov 30, 2022

Conversation

jpnurmi
Copy link
Member

@jpnurmi jpnurmi commented Nov 30, 2022

Instead of letting YaruTile use its default 8px all-side padding and then passing an additional left-only 10px padding for the icon, pass 20px all-side padding to YaruTile. This eliminates the assumption that there's an icon and gives consistent paddings on all sides including in RTL mode.

Before After
LTR image image
RTL image image

@Feichtmeier Feichtmeier merged commit 2055279 into ubuntu:main Nov 30, 2022
@jpnurmi jpnurmi deleted the yaru-banner-padding branch November 30, 2022 12:22
@jpnurmi jpnurmi mentioned this pull request Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants