Browse Source
Merge branch 'master' into fixes/fix-progressbar-vertical-templat
pull/4362/head
Jumar Macato
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with
20 additions and
13 deletions
nukebuild/Build.cs
readme.md
src/Avalonia.DesignerSupport/Remote/HtmlTransport/webapp/webpack.config.js
src/Avalonia.OpenGL/Avalonia.OpenGL.csproj
src/Avalonia.Themes.Default/ComboBox.xaml
src/Avalonia.Themes.Default/DefaultTheme.xaml
src/Linux/Avalonia.LinuxFramebuffer/Avalonia.LinuxFramebuffer.csproj
src/Skia/Avalonia.Skia/Avalonia.Skia.csproj
src/Windows/Avalonia.Win32/Avalonia.Win32.csproj
@ -128,7 +128,9 @@ partial class Build : NukeBuild
{
var webappDir = RootDirectory / "src" / "Avalonia.DesignerSupport" / "Remote" / "HtmlTransport" / "webapp" ;
NpmTasks . NpmInstall ( c = > c . SetWorkingDirectory ( webappDir ) ) ;
NpmTasks . NpmInstall ( c = > c
. SetWorkingDirectory ( webappDir )
. SetArgumentConfigurator ( a = > a . Add ( "--silent" ) ) ) ;
NpmTasks . NpmRun ( c = > c
. SetWorkingDirectory ( webappDir )
. SetCommand ( "dist" ) ) ;
@ -1,4 +1,4 @@
[](https://gitter.im/AvaloniaUI/Avalonia?utm_campaign=pr-badge& utm_content=badge& utm_medium=badge& utm_source=badge) [](https://dev.azure.com/AvaloniaUI/AvaloniaUI/_build/latest?definitionId=4) [](#backers) [](#sponsors) 
[](https://gitter.im/AvaloniaUI/Avalonia?utm_campaign=pr-badge& utm_content=badge& utm_medium=badge& utm_source=badge) []( https://aka.ms/dotnet-discord) [](https://dev.azure.com/AvaloniaUI/AvaloniaUI/_build/latest?definitionId=4) [](#backers) [](#sponsors) 
< br / >
[](https://www.nuget.org/packages/Avalonia) [](https://www.nuget.org/packages/Avalonia) [](https://www.myget.org/gallery/avalonia-ci) 
@ -93,7 +93,7 @@ const config = {
plugins :
[
new Printer ( ) ,
new CleanWebpackPlugin ( [ path . resolve ( __ dirname , 'build' ) ] ) ,
new CleanWebpackPlugin ( [ path . resolve ( __ dirname , 'build' ) ] , { verbose : false } ) ,
new MiniCssExtractPlugin ( {
filename : "[name].[chunkhash]h" +
".css" ,
@ -9,7 +9,5 @@
<ProjectReference Include="..\Avalonia.Base\Avalonia.Base.csproj" />
<ProjectReference Include="..\Avalonia.Controls\Avalonia.Controls.csproj" />
<ProjectReference Include="..\Avalonia.Visuals\Avalonia.Visuals.csproj" />
</ItemGroup>
<Import Project="..\..\build\ApiDiff.props" />
</ItemGroup>
</Project>
@ -1,4 +1,5 @@
<Styles xmlns="https://github.com/avaloniaui">
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Design.PreviewWith>
<Border Padding="20">
<StackPanel Spacing="10">
@ -24,6 +25,7 @@
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Padding" Value="4" />
<Setter Property="MinHeight" Value="20" />
<Setter Property="PlaceholderForeground" Value="{DynamicResource ComboBoxPlaceHolderForeground}" />
<Setter Property="Template">
<ControlTemplate>
<Border Name="border"
@ -31,6 +33,13 @@
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Grid ColumnDefinitions="*,Auto">
<TextBlock Name="PlaceholderTextBlock"
Grid.Column="0"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Margin="{TemplateBinding Padding}"
Text="{TemplateBinding PlaceholderText}"
IsVisible="{TemplateBinding SelectionBoxItem, Converter={x:Static ObjectConverters.IsNull}}" />
<ContentControl Content="{TemplateBinding SelectionBoxItem}"
ContentTemplate="{TemplateBinding ItemTemplate}"
Margin="{TemplateBinding Padding}"
@ -37,6 +37,7 @@
<StyleInclude Source="resm:Avalonia.Themes.Default.TextBox.xaml?assembly=Avalonia.Themes.Default"/>
<StyleInclude Source="resm:Avalonia.Themes.Default.ToggleButton.xaml?assembly=Avalonia.Themes.Default"/>
<StyleInclude Source="resm:Avalonia.Themes.Default.Expander.xaml?assembly=Avalonia.Themes.Default"/>
<StyleInclude Source="resm:Avalonia.Themes.Default.TitleBar.xaml?assembly=Avalonia.Themes.Default"/>
<StyleInclude Source="resm:Avalonia.Themes.Default.TreeView.xaml?assembly=Avalonia.Themes.Default"/>
<StyleInclude Source="resm:Avalonia.Themes.Default.TreeViewItem.xaml?assembly=Avalonia.Themes.Default"/>
<StyleInclude Source="resm:Avalonia.Themes.Default.UserControl.xaml?assembly=Avalonia.Themes.Default"/>
@ -7,6 +7,5 @@
<ItemGroup>
<ProjectReference Include="..\..\..\packages\Avalonia\Avalonia.csproj" />
<ProjectReference Include="..\..\Skia\Avalonia.Skia\Avalonia.Skia.csproj" />
</ItemGroup>
<Import Project="..\..\..\build\ApiDiff.props" />
</ItemGroup>
</Project>
@ -16,6 +16,5 @@
<Import Project="..\..\..\build\SkiaSharp.props" />
<Import Project="..\..\..\build\HarfBuzzSharp.props" />
<Import Project="..\..\Shared\RenderHelpers\RenderHelpers.projitems" Label="Shared" />
<Import Project="..\..\..\build\ApiDiff.props" />
<Import Project="..\..\Shared\RenderHelpers\RenderHelpers.projitems" Label="Shared" />
</Project>
@ -8,6 +8,5 @@
<ProjectReference Include="..\..\..\packages\Avalonia\Avalonia.csproj" />
<PackageReference Include="Avalonia.Angle.Windows.Natives" Version="2.1.0.2019013001" />
</ItemGroup>
<Import Project="$(MSBuildThisFileDirectory)\..\..\..\build\System.Drawing.Common.props" />
<Import Project="..\..\..\build\ApiDiff.props" />
<Import Project="$(MSBuildThisFileDirectory)\..\..\..\build\System.Drawing.Common.props" />
</Project>