示例#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);
 }
示例#2
0
 internal static void UpdateVerticalTextAlignment(this MauiLabel platformLabel, ILabel label)
 {
     platformLabel.VerticalAlignment = label.VerticalTextAlignment.ToPlatformVertical();
 }