mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
Extended button and device specific monospace fonts
This commit is contained in:
18
src/App/Controls/ExtendedButton.cs
Normal file
18
src/App/Controls/ExtendedButton.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Bit.App.Enums;
|
||||
using System;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Bit.App.Controls
|
||||
{
|
||||
public class ExtendedButton : Button
|
||||
{
|
||||
public static readonly BindableProperty PaddingProperty =
|
||||
BindableProperty.Create(nameof(Padding), typeof(Thickness), typeof(ExtendedButton), default(Thickness));
|
||||
|
||||
public Thickness Padding
|
||||
{
|
||||
get { return (Thickness)GetValue(PaddingProperty); }
|
||||
set { SetValue(PaddingProperty, value); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user