예제 #1
0
  protected double getPaddingYpx() {
    if (padding.units == Style.Units.PX && padding.size() > 1) return padding.get(1);

    return getPaddingXpx();
  }
예제 #2
0
  protected double getPaddingXpx() {
    if (padding.units == Style.Units.PX && padding.size() > 0) return padding.get(0);

    return 0;
  }