Exemplo n.º 1
0
 /// <summary>
 /// Quick access to assigning an elements margin equal on all sides.
 /// </summary>
 public static void Height(this HUMRetained.Data.SetMargin setMargin, int margin)
 {
     setMargin.set.element.style.marginTop    = margin;
     setMargin.set.element.style.marginBottom = margin;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Quick access to assigning an elements margin equal on all sides.
 /// </summary>
 public static void Width(this HUMRetained.Data.SetMargin setMargin, int margin)
 {
     setMargin.set.element.style.marginLeft  = margin;
     setMargin.set.element.style.marginRight = margin;
 }