App: Controls: Improve the vault view images (#240)
* App: Controls: Improve the vault view images Make the buttons smaller and ensure the background is transparent. Signed-off-by: Alistair Francis <alistair@alistair23.me> * UWP.Images: Use smaller size images Signed-off-by: Alistair Francis <alistair@alistair23.me> * UWP.Images: Remove unused image Signed-off-by: Alistair Francis <alistair@alistair23.me>
|
@ -114,6 +114,19 @@ namespace Bit.App.Controls
|
||||||
|
|
||||||
containerStackLayout.AdjustPaddingForDevice();
|
containerStackLayout.AdjustPaddingForDevice();
|
||||||
}
|
}
|
||||||
|
else if(Device.RuntimePlatform == Device.UWP)
|
||||||
|
{
|
||||||
|
buttonStackLayout.Spacing = 0;
|
||||||
|
|
||||||
|
if(Button1 != null)
|
||||||
|
{
|
||||||
|
Button1.BackgroundColor = Color.Transparent;
|
||||||
|
}
|
||||||
|
if(Button2 != null)
|
||||||
|
{
|
||||||
|
Button2.BackgroundColor = Color.Transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(Sub != null && Button1 != null)
|
if(Sub != null && Button1 != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
<Content Include="$(MSBuildThisFileDirectory)eye_slash.png" />
|
<Content Include="$(MSBuildThisFileDirectory)eye_slash.png" />
|
||||||
<Content Include="$(MSBuildThisFileDirectory)fa_lock.png" />
|
<Content Include="$(MSBuildThisFileDirectory)fa_lock.png" />
|
||||||
<Content Include="$(MSBuildThisFileDirectory)fa_lock_selected.png" />
|
<Content Include="$(MSBuildThisFileDirectory)fa_lock_selected.png" />
|
||||||
<Content Include="$(MSBuildThisFileDirectory)fingerprint.png" />
|
|
||||||
<Content Include="$(MSBuildThisFileDirectory)folder.png" />
|
<Content Include="$(MSBuildThisFileDirectory)folder.png" />
|
||||||
<Content Include="$(MSBuildThisFileDirectory)globe.png" />
|
<Content Include="$(MSBuildThisFileDirectory)globe.png" />
|
||||||
<Content Include="$(MSBuildThisFileDirectory)icon.png" />
|
<Content Include="$(MSBuildThisFileDirectory)icon.png" />
|
||||||
|
|
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 833 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 937 B |
Before Width: | Height: | Size: 19 KiB |