-
Notifications
You must be signed in to change notification settings - Fork 675
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
[AutoSuggestBox] PlaceholderText does not vertically align to the center #5957
Comments
@chingucoding Do you know if there's a lightweight setting to do this? Or only overriding the template for the entire thing? Seems to be a similar issue like the one with the misaligned x or search icon? |
I'm afraid there is not much you can do here @niels9001 . You can pretty much only retemplate the control to fix this bug. The fix would be to set the VerticalContentAlignment of the placeholder presenter. If the team's fine with that, I would like to fix this. |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
Describe the bug
The PlaceholderText in the AutoSuggestBox is not vertically aligned. This requires devs to go into the control template to fix it which isn't productive
Steps to reproduce the behavior
<AutoSuggestBox PlaceholderText="Replace with" Height="48" Padding="12,12,0,0" VerticalAlignment="Center" VerticalContentAlignment="Center" />
Expected behavior
PlaceholderText should vertically align, like the actual Text in AutoSuggestBox itself. TextBox does this correctly.
Screenshots
PlaceholderText:
Actual text:
Version Info
C++, Xaml Islands, 2.7.0-prerelease.210913003
The text was updated successfully, but these errors were encountered: