Exemplo n.º 1
0
 public static void UpdatePadding(this MauiLabel platformLabel, ILabel label)
 {
     platformLabel.TextInsets = new UIEdgeInsets(
         (float)label.Padding.Top,
         (float)label.Padding.Left,
         (float)label.Padding.Bottom,
         (float)label.Padding.Right);
 }
Exemplo n.º 2
0
 internal static void UpdateVerticalTextAlignment(this MauiLabel platformLabel, ILabel label)
 {
     platformLabel.VerticalAlignment = label.VerticalTextAlignment.ToPlatformVertical();
 }