mirror of
https://github.com/bitwarden/mobile
synced 2025-12-29 06:33:53 +00:00
layout tweaks
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Bit.App.Controls.BoxedView
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty HeaderPaddingProperty = BindableProperty.Create(
|
||||
nameof(HeaderPadding), typeof(Thickness), typeof(BoxedView), new Thickness(14, 8, 8, 8),
|
||||
nameof(HeaderPadding), typeof(Thickness), typeof(BoxedView), new Thickness(15, 8, 15, 8),
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty HeaderTextColorProperty = BindableProperty.Create(
|
||||
@@ -30,7 +30,7 @@ namespace Bit.App.Controls.BoxedView
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty HeaderFontSizeProperty = BindableProperty.Create(
|
||||
nameof(HeaderFontSize), typeof(double), typeof(BoxedView), -1.0d,
|
||||
nameof(HeaderFontSize), typeof(double), typeof(BoxedView), 14.0,
|
||||
defaultBindingMode: BindingMode.OneWay,
|
||||
defaultValueCreator: bindable => Device.GetNamedSize(NamedSize.Small, (BoxedView)bindable));
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Bit.App.Controls.BoxedView
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty FooterFontSizeProperty = BindableProperty.Create(
|
||||
nameof(FooterFontSize), typeof(double), typeof(BoxedView), -1.0d,
|
||||
nameof(FooterFontSize), typeof(double), typeof(BoxedView), 14.0,
|
||||
defaultBindingMode: BindingMode.OneWay,
|
||||
defaultValueCreator: bindable => Device.GetNamedSize(NamedSize.Small, (BoxedView)bindable));
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace Bit.App.Controls.BoxedView
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty FooterPaddingProperty = BindableProperty.Create(
|
||||
nameof(FooterPadding), typeof(Thickness), typeof(BoxedView), new Thickness(14, 8, 14, 8),
|
||||
nameof(FooterPadding), typeof(Thickness), typeof(BoxedView), new Thickness(15, 8, 15, 8),
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty CellTitleColorProperty = BindableProperty.Create(
|
||||
|
||||
@@ -10,11 +10,11 @@ namespace Bit.App.Controls.BoxedView
|
||||
nameof(Title), typeof(string), typeof(BaseCell), default(string), defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty TitleColorProperty = BindableProperty.Create(
|
||||
nameof(TitleColor), typeof(Color), typeof(BaseCell), default(Color),
|
||||
nameof(TitleColor), typeof(Color), typeof(BaseCell), Color.Gray,
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty TitleFontSizeProperty = BindableProperty.Create(
|
||||
nameof(TitleFontSize), typeof(double), typeof(BaseCell), -1.0, defaultBindingMode: BindingMode.OneWay);
|
||||
nameof(TitleFontSize), typeof(double), typeof(BaseCell), 14.0, defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty Button1IconProperty = BindableProperty.Create(
|
||||
nameof(Button1Icon), typeof(string), typeof(BaseCell), default(string),
|
||||
|
||||
@@ -11,11 +11,11 @@ namespace Bit.App.Controls.BoxedView
|
||||
// propertyChanging: ValueTextPropertyChanging);
|
||||
|
||||
public static BindableProperty ValueTextColorProperty = BindableProperty.Create(
|
||||
nameof(ValueTextColor), typeof(Color), typeof(EntryCell), default(Color),
|
||||
nameof(ValueTextColor), typeof(Color), typeof(EntryCell), Color.Black,
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty ValueTextFontSizeProperty = BindableProperty.Create(
|
||||
nameof(ValueTextFontSize), typeof(double), typeof(EntryCell), -1.0,
|
||||
nameof(ValueTextFontSize), typeof(double), typeof(EntryCell), 18.0,
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty KeyboardProperty = BindableProperty.Create(
|
||||
|
||||
@@ -9,11 +9,11 @@ namespace Bit.App.Controls.BoxedView
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty ValueTextColorProperty = BindableProperty.Create(
|
||||
nameof(ValueTextColor), typeof(Color), typeof(LabelCell), default(Color),
|
||||
nameof(ValueTextColor), typeof(Color), typeof(LabelCell), Color.Black,
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public static BindableProperty ValueTextFontSizeProperty = BindableProperty.Create(
|
||||
nameof(ValueTextFontSize), typeof(double), typeof(LabelCell), -1.0,
|
||||
nameof(ValueTextFontSize), typeof(double), typeof(LabelCell), 18.0,
|
||||
defaultBindingMode: BindingMode.OneWay);
|
||||
|
||||
public string ValueText
|
||||
|
||||
Reference in New Issue
Block a user