You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to separate non-breakable Views. I've been trying to use margin but I'm facing the following issues:
If I use marginTop, when a View starts a page, there's an unnecessary margin (corresponding to marginTop)
If I use marginBottom, I face the following: If the margin makes the view larger than the space available, then the entire view goes to the next page. (In the image below, the green View shifts to the next page eventhough it would actually fit in the page.
What's is the rigth way of separating non breakable content and avoiding this unnecesary spacing issues?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to separate non-breakable Views. I've been trying to use margin but I'm facing the following issues:
If I use marginTop, when a View starts a page, there's an unnecessary margin (corresponding to marginTop)
If I use marginBottom, I face the following: If the margin makes the view larger than the space available, then the entire view goes to the next page. (In the image below, the green View shifts to the next page eventhough it would actually fit in the page.
What's is the rigth way of separating non breakable content and avoiding this unnecesary spacing issues?
Beta Was this translation helpful? Give feedback.
All reactions