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
…dently
### Background
The margin from the coachmark to its anchor and the screen edge is currently set by a single integer value. This failed my use-case of a TOP or BOTTOM coachmark that should be a certain distance horizontally from the screen-edge, but very close to its anchoring view.
### Changes
This commit introduces two new `Builder` functions: `withPaddingHorizontal` and `withPaddingVertical`.
The private parameter `padding` has been split into `paddingHorizontal` and `paddingVertical` and these functions set the respective value.
The existing `Builder` function `withPadding` sets both `paddingHorizontal` and `paddingVertical` and is unchanged.
Currently, only symmetrical margins may be applied. We should be able to set horizontal and vertical padding separately.
The text was updated successfully, but these errors were encountered: