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

Center the title, set min searchentry width #841

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jan 3, 2025

Fixes #840, with side-effects

The cause of the issue is that the custom title is set to horizontally expand so the headerbar cannot center it on itself.

There is no simple fix to this issue while keeping the same appearance of the search widget as far as I can find. As a compromise, the search widget now has a fixed width which should be sufficient for most search terms and is centered in the headerbar.

BEFORE
Screenshot from 2025-01-03 12 14 33

Screenshot from 2025-01-03 12 14 42

AFTER
Screenshot from 2025-01-03 12 13 54

Screenshot from 2025-01-03 12 14 04

@jeremypw jeremypw marked this pull request as ready for review January 3, 2025 12:18
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.

Title in titlebar not centered
1 participant