-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package Source Mapping Options Dialogs meet Design and PLOC guidelines (
- Loading branch information
1 parent
e89d782
commit 5d2c71b
Showing
7 changed files
with
146 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/NuGet.Clients/NuGet.PackageManagement.UI/Options/Resources.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<ResourceDictionary | ||
x:Class="NuGet.Options.SharedResources" | ||
x:ClassModifier="internal" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
|
||
<Style x:Key="PackageSourceMappingButtonStyle" TargetType="{x:Type Button}"> | ||
<Setter Property="MinWidth" Value="86" /> | ||
<Setter Property="Height" Value="24" /> | ||
<Setter Property="Padding" Value="10,1,10,1" /> | ||
<Setter Property="VerticalContentAlignment" Value="Center" /> | ||
<Setter Property="HorizontalContentAlignment" Value="Center" /> | ||
<Setter Property="Margin" Value="6,0,0,0" /> | ||
</Style> | ||
<Style x:Key="PackageSourceMappingFirstRowButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource PackageSourceMappingButtonStyle}"> | ||
<Setter Property="Margin" Value="0" /> | ||
</Style> | ||
</ResourceDictionary> |
15 changes: 15 additions & 0 deletions
15
src/NuGet.Clients/NuGet.PackageManagement.UI/Options/Resources.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using System.Windows; | ||
|
||
namespace NuGet.Options | ||
{ | ||
internal partial class SharedResources : ResourceDictionary | ||
{ | ||
public SharedResources() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
11 changes: 10 additions & 1 deletion
11
src/NuGet.Clients/NuGet.PackageManagement.UI/Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters