Did you try setting the "fill" style to true on the Form? That will make the
text area take up the full width of the form.
On Nov 4, 2010, at 11:33 PM, ocean ocean wrote:
> Hello,
>
> I've got a TextArea inside a ScrollPane. I'd really like both the ScrollPane
> and the TextArea to grow as much as possible. The ScrollPane is sitting
> inside a Form.Section. It looks like:
>
>
> <Form.Section>
> ... other components ...
>
> <ScrollPane horizontalScrollBarPolicy="fill_to_capacity"
> verticalScrollBarPolicy="fill_to_capacity"
>
> minimumPreferredHeight="240" minimumPreferredWidth="240"
> Form.Label="Content" >
>
> <view>
>
> <Border styles="{color: 10}">
>
> <content>
>
> <TextArea/>
>
> </content>
>
> </Border>
>
> </view>
>
> </ScrollPane>
>
> </Form.Section>
>
>
> I've tried everything but I can't seem to get it to grow and fill up the form
> as tyou might expect.