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

AutoSuggestBox Query button moves to the left #6439

Closed
1 of 2 tasks
hassaanmasood opened this issue Dec 6, 2021 · 2 comments
Closed
1 of 2 tasks

AutoSuggestBox Query button moves to the left #6439

hassaanmasood opened this issue Dec 6, 2021 · 2 comments
Labels
area-AutoSuggestBox duplicate This issue or pull request already exists product-winui3 WinUI 3 issues team-Controls Issue for the Controls team

Comments

@hassaanmasood
Copy link
Contributor

hassaanmasood commented Dec 6, 2021

Describe the bug

AutoSuggestBox Query Button slides to the left when width is not defined on the AutoSuggestBox and it has a Placeholder which is bigger than 6-7 Characters.

Please provide a fix, through styles, in the comments if possible.

Steps to reproduce the bug

  1. Create a new WinUI 3 in Desktop App.
  2. Place an AutoSuggestBox Control with no width or margins defined so that it expands to the width of the application.
  3. Set a Placeholder bigger than 7 characters on the AutoSuggestBox.
  4. Set QueryIcon for the Query Button of AutoSuggestBox
  5. Run the app in Debugging mode and keep increasing the length of placeholder text while in debug mode.

Now note the movement of querybutton, as we increase characters in placeholder text the icon button keeps moving to left.

Expected behavior

Query Button on the AutoSuggestBox should always align to right side, no matter how long the placeholder is.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

May 2021 Update (19043)

Additional context

No response

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Dec 6, 2021
@gabbybilka gabbybilka added the product-winui3 WinUI 3 issues label Feb 8, 2022
@StephenLPeters StephenLPeters added area-AutoSuggestBox team-Controls Issue for the Controls team labels Mar 1, 2022
@StephenLPeters
Copy link
Contributor

@hassaanmasood is this the Winui3 version of this issue? #5537

@StephenLPeters StephenLPeters added duplicate This issue or pull request already exists needs-author-feedback Asked author to supply more information. and removed needs-triage Issue needs to be triaged by the area owners labels Mar 1, 2022
@hassaanmasood
Copy link
Contributor Author

@StephenLPeters Yes, it is

@ghost ghost added needs-triage Issue needs to be triaged by the area owners and removed needs-author-feedback Asked author to supply more information. labels Mar 1, 2022
@StephenLPeters StephenLPeters removed the needs-triage Issue needs to be triaged by the area owners label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-AutoSuggestBox duplicate This issue or pull request already exists product-winui3 WinUI 3 issues team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants