Skip to content

feat: add WithButtonAlignment function for button positioning - #427

Merged
bashbunni merged 2 commits into
mainfrom
confirm-btn-alignment-godoc
Oct 11, 2024
Merged

bashbunni merged 2 commits into
mainfrom
confirm-btn-alignment-godoc

Conversation

@bashbunni

@bashbunni bashbunni commented Oct 11, 2024 •

Copy link
Copy Markdown
Contributor

This is based on #425, just added godoc for the linter and for some reason couldn't push to the other PR.

I'm having some issues with the golden files for the tests, so will introduce the tests in another PR. (they're currently living on the confirm-btn-alignment branch)

pbj and others added 2 commits October 8, 2024 09:08
- Added in method to adjust the position of the confirm buttons,
  within the confirm field
- If the user does not adjust the position of the confirm buttons,
  it defaults to the center of the confirm view field
- If the user provides the position of the confirm buttons,
  it overrides the position of the buttons in the confirm view field
@bashbunni bashbunni linked an issue Oct 11, 2024 that may be closed by this pull request
@bashbunni
bashbunni merged commit 983a507 into main Oct 11, 2024
@bashbunni
bashbunni deleted the confirm-btn-alignment-godoc branch October 11, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confirm button indent at wrong position

1 participant

⌂ 换网址