Merge adjacent padding #401
Unanswered
phonetic112
asked this question in
Q&A
Replies: 1 comment
-
You could use the spacing property: Widget.Box({
spacing: 5,
children: [
widget1,
widget2
]
}) this will add a 5px gap between the children |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I have two adjacent box widgets with
padding: 5px;
, the side where they are adjacent will stack and the gap will be 10px instead, which looks off. I could negate the padding on the adjacent sides but it's annoying to do it manually, is there any way to do this automatically?Beta Was this translation helpful? Give feedback.
All reactions