feat(CmdPal): increase hero image size for clipboard history previews#47003
feat(CmdPal): increase hero image size for clipboard history previews#47003SAY-5 wants to merge 1 commit intomicrosoft:mainfrom
Conversation
The hero image in the details pane was hardcoded to 64px, making clipboard image previews too small to be useful. Replaced the fixed width with MaxWidth=320/MaxHeight=240 so images scale up while staying bounded. Icons and other small images still display at their natural size. Fixes microsoft#41698
|
@SAY-5 can you include a before / after |
|
Setting up a Windows build for screenshots. The visual change: Before: Clipboard image preview is a 64x64px thumbnail (icon-sized, hard to see content) Width=64 replaced with MaxWidth=320 MaxHeight=240 on the HeroImageBorder IconBox. Will follow up with actual screenshots. |
|
screenshot please |
|
Apologies — I don't have a Windows build setup. The change sets |
Summary of the Pull Request
The hero image in the CmdPal details pane was fixed at 64px wide, making clipboard image previews essentially useless for anything other than icons. Replaced the fixed Width="64" with MaxWidth="320" and MaxHeight="240" so images scale up to a readable size while staying bounded within the details pane. Small images like icons still display at their natural size since there's no minimum constraint.
PR Checklist