Can't control ProgressBar Height/Thickness
Posted: 08 Feb 2015, 06:02
Alright here's my code
Here's what it looks like in Blend
http://i.imgur.com/GfcqmMc.png
Here's what it looks like in Unity
http://i.imgur.com/adSy6YR.png
Code: Select all
<Grid
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" Width="800" Height="600" Background="#2F2F2F">
<ProgressBar
d:Comment1="These values don't need to be set for blend to display what I want"
d:Comment2="They're included to show what I have tried setting"
Margin="0 0 0 0"
Height="700"
Width="Auto"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
VerticalContentAlignment="Stretch"
HorizontalContentAlignment="Stretch"
BorderThickness="0"
d:Comment3="Just some other settings"
Background="Black"
Foreground="Green"
Value="0.5"
Maximum="1"/>
</Grid>
http://i.imgur.com/GfcqmMc.png
Here's what it looks like in Unity
http://i.imgur.com/adSy6YR.png