From 48ca0cc2d10cfebc91623b14adab8de7897b6e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pol=C3=A1=C5=A1ek?= Date: Mon, 15 Sep 2025 22:19:43 +0200 Subject: [PATCH] CmdPal: Remove transition animation from filter drop-down and set minimum width (#41832) ## Summary of the Pull Request ## PR Checklist - [x] Closes: #41651 - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed --- .../cmdpal/Microsoft.CmdPal.UI/Controls/FiltersDropDown.xaml | 1 + src/modules/cmdpal/Microsoft.CmdPal.UI/Pages/ShellPage.xaml | 5 ----- .../ext/SamplePagesExtension/Pages/SampleDynamicListPage.cs | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/FiltersDropDown.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/FiltersDropDown.xaml index 074f79a01f..dec0920235 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/FiltersDropDown.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/FiltersDropDown.xaml @@ -68,6 +68,7 @@ - - - - - diff --git a/src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleDynamicListPage.cs b/src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleDynamicListPage.cs index b0044379be..ad2beb86b8 100644 --- a/src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleDynamicListPage.cs +++ b/src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleDynamicListPage.cs @@ -70,7 +70,7 @@ public partial class SampleFilters : Filters [ new Filter() { Id = "all", Name = "All" }, new Filter() { Id = "mod2", Name = "Every 2nd", Icon = new IconInfo("2") }, - new Filter() { Id = "mod3", Name = "Every 3rd", Icon = new IconInfo("3") }, + new Filter() { Id = "mod3", Name = "Every 3rd (and long name)", Icon = new IconInfo("3") }, ]; } }