Bug: Font size of Command Palette doesn't scale with terminal font size #10201

Closed
opened 2026-01-31 02:15:14 +00:00 by claunia · 2 comments
Owner

Originally created by @pcgeek86 on GitHub (Aug 18, 2020).

Environment

Windows Terminal Preview
Windows 10 version 2004

Steps to reproduce

  1. Install Windows Terminal Preview
  2. Add a keybinding for command palette
  3. Scale up your font size (CTRL + PLUS)
  4. Invoke the command palette
  5. Notice that command palette text doesn't scale up with the profile

Expected behavior

Command Palette font size should scale proportionally to the current profile's font size.

Actual behavior

Command Palette font size doesn't scale proportionally to current profile's font size.

image

Contrast this behavior with how VSCode works. The command palette font scales along with the rest of the entire user interface.

Originally created by @pcgeek86 on GitHub (Aug 18, 2020). # Environment ```none Windows Terminal Preview Windows 10 version 2004 ``` # Steps to reproduce 1. Install Windows Terminal Preview 2. Add a keybinding for command palette 3. Scale up your font size (CTRL + PLUS) 4. Invoke the command palette 5. Notice that command palette text doesn't scale up with the profile # Expected behavior Command Palette font size should scale proportionally to the current profile's font size. # Actual behavior Command Palette font size doesn't scale proportionally to current profile's font size. ![image](https://user-images.githubusercontent.com/466713/90457642-581ba600-e0b9-11ea-91c2-eb706553b086.png) Contrast this behavior with how VSCode works. The command palette font scales along with the rest of the entire user interface.
Author
Owner

@zadjii-msft commented on GitHub (Aug 18, 2020):

Huh. Hadn't considered doing that. Thanks for the suggestion! I suppose the one in Sublime Text's command palette doesn't scale with the editor font size, so there's certainly precedent for either option. The "increaseFontSize" action is really just about increasing the font size of the focused terminal, not the font size of the entire UI. What if the user had multiple panes open side by side, with different font sizes in each?

image

I'm thinking that having a constant font size for the palette would look better than having it change font size constantly to reflect the size of the focused terminal.

So I think I'm gonna close this for now, but I'm open to being convinced the other way. Thanks!

@zadjii-msft commented on GitHub (Aug 18, 2020): Huh. Hadn't considered doing that. Thanks for the suggestion! I suppose the one in Sublime Text's command palette doesn't scale with the editor font size, so there's certainly precedent for either option. The "increaseFontSize" action is really just about increasing the font size of the focused terminal, not the font size of the entire UI. What if the user had multiple panes open side by side, with different font sizes in each? ![image](https://user-images.githubusercontent.com/18356694/90513270-fa24a800-e124-11ea-8b6f-33881b0eb092.png) I'm thinking that having a constant font size for the palette would look better than having it change font size constantly to reflect the size of the focused terminal. So I think I'm gonna close this for now, but I'm open to being convinced the other way. Thanks!
Author
Owner

@DHowett commented on GitHub (Aug 18, 2020):

The command palette should follow the application font size set in the accessibility or display settings, FYI.

@DHowett commented on GitHub (Aug 18, 2020): The command palette should follow the application font size set in the accessibility or display settings, FYI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10201