style-elements icon indicating copy to clipboard operation
style-elements copied to clipboard

paddingX and paddingY

Open opsb opened this issue 8 years ago • 1 comments
trafficstars

I've found a couple of scenarios that pop up frequently:

  1. I want to set padding on a single axis
  2. I want to set padding on a single axis and then add a single side in the other axis

In the case of (2) it seems quite natural to do

, paddingX = 20
, paddingBottom = 10

rather than have a paddingSomething that takes padding for all 4 sides.

opsb avatar Jun 17 '17 08:06 opsb

Ah, interesting, yeah my stacking logic doesn't quite allow that. Ok, I'll put it up for review for v3.2!

mdgriffith avatar Jun 17 '17 12:06 mdgriffith