mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
CmdPal: Links in details will now wrap correctly. (#42036)
See title Closes #39649
This commit is contained in:
@@ -9,5 +9,13 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Microsoft.CmdPal.Core.Common\Microsoft.CmdPal.Core.Common.csproj" />
|
<ProjectReference Include="..\Microsoft.CmdPal.Core.Common\Microsoft.CmdPal.Core.Common.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Update="Properties\Resources.Designer.cs">
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -69,4 +69,4 @@ namespace Microsoft.CmdPal.Core.ViewModels.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,10 +89,11 @@
|
|||||||
Visibility="{x:Bind IsText, Mode=OneWay}" />
|
Visibility="{x:Bind IsText, Mode=OneWay}" />
|
||||||
<HyperlinkButton
|
<HyperlinkButton
|
||||||
Padding="0"
|
Padding="0"
|
||||||
Content="{x:Bind Text, Mode=OneWay}"
|
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
NavigateUri="{x:Bind Link, Mode=OneWay}"
|
NavigateUri="{x:Bind Link, Mode=OneWay}"
|
||||||
Visibility="{x:Bind IsLink, Mode=OneWay}" />
|
Visibility="{x:Bind IsLink, Mode=OneWay}">
|
||||||
|
<TextBlock Text="{x:Bind Text, Mode=OneWay}" TextWrapping="Wrap" />
|
||||||
|
</HyperlinkButton>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
<DataTemplate x:Key="DetailsCommandsTemplate" x:DataType="coreViewModels:DetailsCommandsViewModel">
|
<DataTemplate x:Key="DetailsCommandsTemplate" x:DataType="coreViewModels:DetailsCommandsViewModel">
|
||||||
|
|||||||
Reference in New Issue
Block a user