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

Support vertical centering of multi-line for text area (directly as well as in CSS) #3749

Open
ThomasH99 opened this issue Oct 16, 2023 · 0 comments
Assignees

Comments

@ThomasH99
Copy link
Contributor

It is possible to vertically center a single line text area as described here: https://www.reddit.com/r/cn1/comments/syukb6/how_to_center_text_vertically_in_a_textarea/%EF%BF%BC (although it's a bit cumbersome and not possible in CSS).

A work-around indicated by the CN1 team is to enclose it like this: BoxLayout.encloseYCenter(textArea).

However, this is not documented and not obvious to figure out, so it seems the platform would benefit from better support for this quite common use case.

Basically, it should work so that a UIID that centers text vertically should 'just work' for both single and multi-line TextAreas.

@shai-almog shai-almog self-assigned this Oct 17, 2023
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

2 participants