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
There isn't a Padding field on UIViews today. In order to pad content you need to wrap them in a Region and set its Margin to the Padding you want. There might be a way to solve this without using a Region, perhaps by looking at parent Padding when doing layout calculations.
Another argument for allowing a Padding field is that we can then include it in our style definitions, to e.g. apply X amount of Padding on certain Panels, Regions, etc. We get around this somewhat by using a field called ContentMargin on certain views, that applies margin to child views. If we create a Padding field it can replace the ContentMargin on some of these views.
The text was updated successfully, but these errors were encountered:
There isn't a Padding field on UIViews today. In order to pad content you need to wrap them in a Region and set its Margin to the Padding you want. There might be a way to solve this without using a Region, perhaps by looking at parent Padding when doing layout calculations.
Another argument for allowing a Padding field is that we can then include it in our style definitions, to e.g. apply X amount of Padding on certain Panels, Regions, etc. We get around this somewhat by using a field called ContentMargin on certain views, that applies margin to child views. If we create a Padding field it can replace the ContentMargin on some of these views.
The text was updated successfully, but these errors were encountered: