ux: issue link tooltip max width

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-05 11:00:04 +08:00
parent c337d67bbe
commit 9d2c2df6b3
No known key found for this signature in database

View file

@ -141,7 +141,13 @@
Message="{Binding #ThisControl.Message}"
IssueTrackerRules="{Binding #ThisControl.IssueTrackerRules}"
HorizontalAlignment="Stretch"
TextWrapping="Wrap"/>
TextWrapping="Wrap">
<v:CommitMessagePresenter.Styles>
<Style Selector="ToolTip">
<Setter Property="MaxWidth" Value="800"/>
</Style>
</v:CommitMessagePresenter.Styles>
</v:CommitMessagePresenter>
</Grid>
</StackPanel>
</DataTemplate>