mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-21 12:53:18 +12:00
Fix padding issues
This commit is contained in:
parent
adfec98398
commit
224bb01e6c
|
@ -95,24 +95,24 @@
|
|||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Margin="{Binding PromotionMargin}">
|
||||
<TextBlock Margin="{Binding PromotionMargin}" Padding="0">
|
||||
<Hyperlink NavigateUri="{Binding PromotionLinks[0], TargetNullValue=about:blank}" RequestNavigate="Hyperlink_RequestNavigate">
|
||||
<Run Text="{Binding PromotionTexts[0]}" />
|
||||
</Hyperlink>
|
||||
|
||||
<TextBlock Text="{Binding PromotionTextAfterLinks[0]}" />
|
||||
<TextBlock Text="{Binding PromotionTextAfterLinks[0]}" Padding="0" Margin="0" />
|
||||
|
||||
<Hyperlink NavigateUri="{Binding PromotionLinks[1], TargetNullValue=about:blank}" RequestNavigate="Hyperlink_RequestNavigate">
|
||||
<Run Text="{Binding PromotionTexts[1]}" />
|
||||
</Hyperlink>
|
||||
|
||||
<TextBlock Text="{Binding PromotionTextAfterLinks[1]}" />
|
||||
<TextBlock Text="{Binding PromotionTextAfterLinks[1]}" Padding="0" Margin="0" />
|
||||
|
||||
<Hyperlink NavigateUri="{Binding PromotionLinks[2], TargetNullValue=about:blank}" RequestNavigate="Hyperlink_RequestNavigate">
|
||||
<Run Text="{Binding PromotionTexts[2]}" />
|
||||
</Hyperlink>
|
||||
|
||||
<TextBlock Text="{Binding PromotionTextAfterLinks[2]}" />
|
||||
<TextBlock Text="{Binding PromotionTextAfterLinks[2]}" Padding="0" Margin="0" />
|
||||
|
||||
</TextBlock>
|
||||
<TextBlock MouseLeftButtonDown="CopyText" Text="{Binding ModDescription}" />
|
||||
|
|
|
@ -625,7 +625,7 @@ namespace ModAssistant.Pages
|
|||
{
|
||||
get
|
||||
{
|
||||
if (PromotionTexts == null || string.IsNullOrEmpty(PromotionTexts[0])) return "0";
|
||||
if (PromotionTexts == null || string.IsNullOrEmpty(PromotionTexts[0])) return "-15,0,0,0";
|
||||
return "0,0,5,0";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue