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

Fix Default Terminal and Color Scheme ComboBoxes cropping at 200% Text Size #15762

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

carlos-zamora
Copy link
Member

@carlos-zamora carlos-zamora commented Jul 25, 2023

When the OS' "text size" setting gets set to 200% and the display resolution is reduced quite a bit, we get some cropped text in the SUI's Default Terminal ComboBox. Turns out, we have a height set on the items. I went ahead and removed that so we don't crop the text. Everything looks good still!

A similar issue occurs in the Profile > Appearance > Color Scheme ComboBox. I went ahead and fixed that too by removing the height restriction.

Other minor changes:

  • fixed the comments
  • changed "author and version" row to "auto" instead of "*" (star sizing is great for proportional sizing, so we're not really taking advantage of it)

Closes #15149

@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-Accessibility Issues related to accessibility Product-Terminal The new Windows Terminal. labels Jul 25, 2023
DHowett
DHowett previously approved these changes Jul 25, 2023
lhecker
lhecker previously approved these changes Jul 26, 2023
@carlos-zamora
Copy link
Member Author

Went ahead and checked the Profile > Appearance > Color Scheme ComboBox too.

image

Changed it to this:

  • 100%
image
  • 200%
image

Admittedly, the color chips don't look right to me. But I tried playing around with them and no luck. At least the text isn't cropped anymore

@carlos-zamora carlos-zamora changed the title Remove Height property on Default Terminal ComboBoxItems Fix Default Terminal and Color Scheme ComboBoxes cropping at 200% Text Size Jul 26, 2023
@carlos-zamora carlos-zamora dismissed stale reviews from lhecker and DHowett July 26, 2023 20:50

Changed scope of PR

@carlos-zamora
Copy link
Member Author

@lhecker @DHowett Mind giving another review? Also went ahead and fixed the Color Schemes ComboBox.

@DHowett DHowett merged commit 1f9426b into main Jul 26, 2023
15 checks passed
@DHowett DHowett deleted the dev/cazamor/a11y/text-size-crops branch July 26, 2023 23:25
DHowett pushed a commit that referenced this pull request Jul 27, 2023
…t Size (#15762)

When the OS' "text size" setting gets set to 200% and the display
resolution is reduced quite a bit, we get some cropped text in the SUI's
Default Terminal ComboBox. Turns out, we have a height set on the items.
I went ahead and removed that so we don't crop the text. Everything
looks good still!

A similar issue occurs in the Profile > Appearance > Color Scheme
ComboBox. I went ahead and fixed that too by removing the height
restriction.

Other minor changes:
- fixed the comments
- changed "author and version" row to "auto" instead of "*" (star sizing
is great for proportional sizing, so we're not really taking advantage
of it)

Closes #15149

(cherry picked from commit 1f9426b)
Service-Card-Id: 89991190
Service-Version: 1.17
DHowett pushed a commit that referenced this pull request Jul 27, 2023
…t Size (#15762)

When the OS' "text size" setting gets set to 200% and the display
resolution is reduced quite a bit, we get some cropped text in the SUI's
Default Terminal ComboBox. Turns out, we have a height set on the items.
I went ahead and removed that so we don't crop the text. Everything
looks good still!

A similar issue occurs in the Profile > Appearance > Color Scheme
ComboBox. I went ahead and fixed that too by removing the height
restriction.

Other minor changes:
- fixed the comments
- changed "author and version" row to "auto" instead of "*" (star sizing
is great for proportional sizing, so we're not really taking advantage
of it)

Closes #15149

(cherry picked from commit 1f9426b)
Service-Card-Id: 89991191
Service-Version: 1.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Accessibility Issues related to accessibility Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.
Projects
3 participants