[PR #14569] [MERGED] [SUI] Polish Launch Parameters setting controls #30157

Open
opened 2026-01-31 09:39:00 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/14569
Author: @carlos-zamora
Created: 12/15/2022
Status: Merged
Merged: 12/16/2022
Merged by: @undefined

Base: mainHead: dev/cazamor/launch-params-cleanup


📝 Commits (3)

  • 5747c70 [SUI] Polish Launch Parameters setting controls
  • 011f004 let's be more descriptive in the preview
  • 048afbf Let Windows decide

📊 Changes

4 files changed (+37 additions, -21 deletions)

View changed files

📝 src/cascadia/TerminalSettingsEditor/CommonResources.xaml (+1 -1)
📝 src/cascadia/TerminalSettingsEditor/Launch.xaml (+32 -16)
📝 src/cascadia/TerminalSettingsEditor/LaunchViewModel.cpp (+1 -1)
📝 src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw (+3 -3)

📄 Description

Summary of the Pull Request

Performs some cleanup in the Settings UI for the Launch Parameters settings:

  1. Updates all NumberBox controls in the Settings UI to have a Compact SpinButtonPlacementMode instead of an inline one. This alleviates the XAML bug where the spin button would appear over the number box's input value.
  2. Fixes an issue where a long X/Y value would resize the settings controls weirdly. This was fixed by introducing a Grid inside the main grid and applying a width to the number boxes.
  3. Rename "Use system default" checkbox to be more clear. Propagate the new localized string into expander preview.

Closes #14558


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/14569 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 12/15/2022 **Status:** ✅ Merged **Merged:** 12/16/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/cazamor/launch-params-cleanup` --- ### 📝 Commits (3) - [`5747c70`](https://github.com/microsoft/terminal/commit/5747c705ba409ac0f6a231d3b75c7ebe860d61f1) [SUI] Polish Launch Parameters setting controls - [`011f004`](https://github.com/microsoft/terminal/commit/011f00466828b84a6f8945295eaf88dd248c0965) let's be more descriptive in the preview - [`048afbf`](https://github.com/microsoft/terminal/commit/048afbf5e7bd70cb51880b21bd5d7a9b82b17a54) Let Windows decide ### 📊 Changes **4 files changed** (+37 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsEditor/CommonResources.xaml` (+1 -1) 📝 `src/cascadia/TerminalSettingsEditor/Launch.xaml` (+32 -16) 📝 `src/cascadia/TerminalSettingsEditor/LaunchViewModel.cpp` (+1 -1) 📝 `src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw` (+3 -3) </details> ### 📄 Description ## Summary of the Pull Request Performs some cleanup in the Settings UI for the Launch Parameters settings: 1. Updates all `NumberBox` controls in the Settings UI to have a `Compact` `SpinButtonPlacementMode` instead of an inline one. This alleviates the XAML bug where the spin button would appear over the number box's input value. 2. Fixes an issue where a long X/Y value would resize the settings controls weirdly. This was fixed by introducing a `Grid` inside the main grid and applying a width to the number boxes. 3. Rename "Use system default" checkbox to be more clear. Propagate the new localized string into expander preview. Closes #14558 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:39:00 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30157