How to center text vertically
__p.verticalAlign=VerticalAlign.MIDDLE;Useless
__p.verticalAlign=VerticalAlign.MIDDLE;Useless
hi,
Please see TLF doc for verticalAlign, it's align based on the container.
7.6.7. verticalAlign attribute Specifies the vertical alignment of the lines within the container.
The lines may appear at the top of the container, centered within the container, at the bottom, or evenly spread out across the depth of the container.verticalAlign is non–inheriting.
Valid values include:
• top Specifies alignment with the top edge of the frame.
• middle Specifies alignment with the middle edge of the frame.
• bottom Specifies alignment with the bottom edge of the frame.
• justify Specifies vertical line justification with the frame.
• inherit Specifies alignment should be inherited.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.