Browse Source

Make ProgressBar compile.

And add to test app.
pull/63/head
Steven Kirk 11 years ago
parent
commit
ea62b109b7
  1. 5
      Perspex.Themes.Default/ProgressBarStyle.cs
  2. 4
      TestApplication/Program.cs

5
Perspex.Themes.Default/ProgressBarStyle.cs

@ -36,7 +36,7 @@
[~Border.BorderBrushProperty] = control[~ProgressBar.BorderBrushProperty],
[~Border.BorderThicknessProperty] = control[~ProgressBar.BorderThicknessProperty],
Content = new Grid
Child = new Grid
{
MinHeight = 14,
MinWidth = 200,
@ -56,8 +56,7 @@
BorderThickness = 1,
HorizontalAlignment = HorizontalAlignment.Left,
[~Border.BackgroundProperty] = control[~ProgressBar.ForegroundProperty],
Content = new Grid
Child = new Grid
{
Name = "Animation",
ClipToBounds = true,

4
TestApplication/Program.cs

@ -448,6 +448,10 @@ namespace TestApplication
[!Image.HeightProperty] = size[!ScrollBar.ValueProperty],
},
},
new ProgressBar
{
Value = 50
}
}
},
};

Loading…
Cancel
Save