Middle alignment for:

- single line text with unknown parent height
- known line text
Fix requirements.parent bug.