Skip to content

Commit

Permalink
SLVS-1601 Replace SonarLint banner on the about window (#5820)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriela-trutan-sonarsource authored and vnaskos-sonar committed Nov 12, 2024
1 parent abe1074 commit db039db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/Integration.Vsix/Commands/HelpMenu/AboutDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
<Setter Property="FontFamily" Value="..\..\Resources\MavenPro-Regular.ttf #Maven Pro"/>
</Style>
</Window.Resources>
<Window.Background>
<ImageBrush ImageSource="..\..\Resources\About_Background.png" />
</Window.Background>
<StackPanel Height="200" Width="600">
<StackPanel.Background>
<ImageBrush Stretch="Fill" ImageSource="..\..\Resources\SonarLint_About_For Export.jpg"/>
</StackPanel.Background>
<Grid Margin="42,102,10,0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
Expand All @@ -39,13 +39,13 @@
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Style="{StaticResource TextBlockStyle}" Text="{Binding Path=SLVersion, StringFormat=Version: {0}}" FontSize="14" Margin="0,30,0,0" VerticalAlignment="Top"/>
<TextBlock Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="37,0,0,0">
<TextBlock Grid.Row="0" Grid.Column="0" Style="{StaticResource TextBlockStyle}" Text="{Binding Path=SLVersion, StringFormat=Version: {0}}" FontSize="14" Margin="0,45,0,0" VerticalAlignment="Top"/>
<TextBlock Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="105,0,0,0">
<Hyperlink NavigateUri="https://www.sonarsource.com/products/sonarlint/" RequestNavigate="ViewWebsite" FontSize="16">
<TextBlock Text="www.sonarsource.com"/>
</Hyperlink>
</TextBlock>
<TextBlock Grid.Row="1" Grid.Column="0" Style="{StaticResource TextBlockStyle}" Text="Copyright © 2016-2024 SonarSource SA" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="Gray" FontSize="11" Margin="30,30,0,0"/>
<TextBlock Grid.Row="1" Grid.Column="0" Style="{StaticResource TextBlockStyle}" Text="Copyright © 2016-2024 SonarSource SA" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="Gray" FontSize="11" Margin="0,10,0,0"/>
<platformUi:DialogButton Grid.Row="1" Grid.Column="1" Content="Close" IsCancel="True" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="11" Margin="0,0,0,0"/>
</Grid>
</StackPanel>
Expand Down
3 changes: 1 addition & 2 deletions src/Integration.Vsix/Integration.Vsix.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@

<ItemGroup>
<None Remove="Resources\MavenPro-Regular.ttf" />
<None Remove="Resources\SonarLint_About_For Export.jpg" />
<Content Include="Resources\sonarqube_for_ide_16px.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
Expand Down Expand Up @@ -466,8 +465,8 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\About_Background.png" />
<Resource Include="Resources\MavenPro-Regular.ttf" />
<Resource Include="Resources\SonarLint_About_For Export.jpg" />
</ItemGroup>
<ItemGroup>
<None Update="Properties\Settings.settings">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit db039db

Please sign in to comment.