button image in blend and transparency of the image,
Posted: 18 Mar 2019, 15:20
button image in blend uses the transparency of the image, but in unity the background of button is white. any ideas?
<Button Content="" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="60" Height="60" BorderThickness="0" BorderBrush="{x:Null}" Foreground="{x:Null}">
<Button.Background>
<ImageBrush ImageSource="games_controller.png"/>
</Button.Background>
</Button>
thanks.
<Button Content="" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="60" Height="60" BorderThickness="0" BorderBrush="{x:Null}" Foreground="{x:Null}">
<Button.Background>
<ImageBrush ImageSource="games_controller.png"/>
</Button.Background>
</Button>
thanks.