Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
markwilcox
Posts: 51
Registered: ‎11-23-2012
My Device: BB10 Dev Alpha

TextArea vertical text alignment

I have a ListView with images on the left of a StackLayout in each list item and a (non-editable) TextArea on the right. Whatever I try to do (verticalAlignment, top/bottom margin & padding, put TextArea in a Container with a DockLayout), the text is always centred vertically (I want it aligned to the top).  Worse still, once the text height is greater than the image height, the greater the text height, the more padding it has top and bottom.

 

This works fine with a multiline label but I was hoping to also use inputMode: TextAreaInputMode.Chat (which has another bug - smiley conversion is happening inside every URL, :/ is detected and converted).

 

Am I missing something or is this stuff just really buggy still?

 

Please use plain text.