-
-
Notifications
You must be signed in to change notification settings - Fork 674
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
Positioning of MDTopAppBar elements #2 #1700
Comments
What is the use case of centering that icon? It does not matches material design spec. https://m3.material.io/components/top-app-bar/specs (It does not declare anywhere to center icons) |
Not an icon, but a title. |
I also encountered the same problem |
2 similar comments
I also encountered the same problem |
I also encountered the same problem |
I also encountered the same problem The problem seems to happen only when you try to center align the title. If you remove the alignment (pos_hint: {"center_x": .5}) Then everything works fine. |
I see |
I also face the same issue, and removing "pos_hint: {"center_x": .5}" does not help. However, the problem goes away if I update the text from code, or resize window. It seems the problem is in some order of updates. |
Description of the Bug
pos_hint: {"center_x": .5} doesn't work
Code and Logs
Screenshots
Versions
The text was updated successfully, but these errors were encountered: