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

Why are top bar items aligned to left? #37

Closed
muznyo opened this issue Oct 8, 2022 · 2 comments
Closed

Why are top bar items aligned to left? #37

muznyo opened this issue Oct 8, 2022 · 2 comments

Comments

@muznyo
Copy link

muznyo commented Oct 8, 2022

image
I don't know if that's intentional, but it looks weird.

@meisme-dev
Copy link

Yeah it looks really strange, I think it should be centered

@tkashkin
Copy link
Owner

tkashkin commented Oct 9, 2022

VGUI styles are limited. It's not possible to change the label's alignment.
Even if it was possible, the icons are not actually part of the buttons and it would be impossible to center them with the text if each label has different width.

So no, it's not really intentional, but this is the closest to libadwaita's style you can get without removing the labels entirely or faking text by drawing images with text instead. The text as images workaround is already used in the overlay so maybe I'll try it here later.

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

No branches or pull requests

3 participants