three-mesh-ui icon indicating copy to clipboard operation
three-mesh-ui copied to clipboard

Margin and padding css-like when using blocks

Open kdpkke opened this issue 3 years ago • 2 comments

Hello again! When I use the margin or padding properties, I could not find a way to apply those exclusively on the right (like margin-right in css). The same applies for top, bottom and left. Is there a way to have that kind of freedom when building the ui? Thank you in advance

kdpkke avatar Jun 27 '21 13:06 kdpkke

Hi again @kdpkke, I'm sorry but my anwser will be the same, this is not possible with three-mesh-ui at the moment. However it should not be too hard to implement, so if you're interested about making a PR I would gladly help you figuring things out.

felixmariotto avatar Jun 27 '21 14:06 felixmariotto

Would be available in 7.x.x : https://felixmariotto.github.io/three-mesh-ui/7.x.x/#tut__box_sizing

swingingtom avatar Sep 06 '22 14:09 swingingtom