Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical Blocks Joined Centrally Not Centrally Aligned When Rendered By Vertically Aligned Style #99

Open
mcquackers opened this issue Aug 12, 2022 · 0 comments

Comments

@mcquackers
Copy link

Example code:
https://go.dev/play/p/m_4_YwnUyNI

Summary:
I'm trying to align a check box vertically with its header (which can differ based on the data). It seems that when I join the Header and the checkbox vertically, they're fine; the [X] had 3 sectors of whitespace to the left, and 2 the right.

However, when I then style that joined-string to a minwidth of 21 and align it centrally, the checkbox ends up with 10 sectors of whitespace to the left and 8 sectors to the right instead of 9 and 9.

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

No branches or pull requests

1 participant