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
Note from Matt: This is a feature request, not a bug. The poster would like for SuperTextField to support vertical alignment. It's unclear how that would work in conjunction with viewport sizing, but maybe there's a way.
I think you're confusing vertical and horizontal alignment. TextAlign.center means horizontal center, not vertical center.
As for the horizontal center, can you check the width of your SuperTextField? I can't tell whether horizontal centering is working or not, because I can't see the actual bounds of the text field.
Hi @matthew-carroll! Yes, I'm aware that TextAlign.center means horizontal alignment. I left it there as a reference to show that this is the only option available for text alignment for the SuperTextField widget.
Looks like horizontal alignment is not working as well. As you can see in the screenshot below, the SuperTextField widget has a width of 411.4px, which is the same as the parent Container.
matthew-carroll
changed the title
[SuperTextField] [iOS] [Android] [Web] Can't center text vertically inside SuperTextEditor
[SuperTextField] - Add vertical alignment to SuperTextField
Jul 4, 2022
Note from Matt: This is a feature request, not a bug. The poster would like for SuperTextField to support vertical alignment. It's unclear how that would work in conjunction with viewport sizing, but maybe there's a way.
Steps to reproduce
Code:
Actual behavior
Text stays at the top of the text field.
5_vertical_alignment_issue.mp4
Expected behavior
If user types less paragraphs than minLines, text should be displayed at the center of the widget.
Platform
CC @venkatd
The text was updated successfully, but these errors were encountered: