feat: Add way to control all outer gap individualy - #1267
Conversation
|
@ernestoCruz05 possible to review this if you have some time ? |
|
This seems to affect all layouts, not just the few currently given ones, and it will make layout calculations very complicated |
i think it would be a neat feature, maybe an issue to see how popular the demand is? |
Yeah, it’s the goal to have all layouts affect.
do you mean some layouts are one the code but users can’t use them so need to be untouch ?
i don’t see where, since the only change on calculation are some multiplication become substraction or it’s another thing i miss |
You can define a different gap on the right and on the left, same for top and bottom. Intorudce 4 new settings | Setting | Default | Description | | :--- | :--- | :--- | | `gappol` | `10` | Outer gap, left edge. | | `gappor` | `10` | Outer gap, right edge. | | `gappot` | `10` | Outer gap, top edge. | | `gappob` | `10` | Outer gap, bottom edge. | For backward compatibility, `gappoh` sets both `gappol` and `gappor`, and `gappov` sets both `gappot` and `gappob`. If you mix legacy and directional keys, the last one in the file wins.
6504c21 to
f875e19
Compare
You can define a different gap on the right and on the left, same for top and bottom. Intorudce 4 new settings
gappol10gappor10gappot10gappob10For backward compatibility,
gappohsets bothgappolandgappor, andgappovsets bothgappotandgappob. If you mix legacy and directional keys, the last one in the file wins.i have run
./format.shI have compile and test them, they work fine, and the backward compatibility too work