Jul 11, 2008, 6:05 AM
Full width ext:TextArea ??
Hi there,
I am using the viewport control and in the south panel I would like an ext:TextArea to fill the whole panel (as I need the text here to be updateable). Can anyone tell me how to acheive this as the width property only accepts a pixel measurement? and AutoWidth does not seem to do anything. I have tried FitLayout too without much luck.
Thanks
Tony
I am using the viewport control and in the south panel I would like an ext:TextArea to fill the whole panel (as I need the text here to be updateable). Can anyone tell me how to acheive this as the width property only accepts a pixel measurement? and AutoWidth does not seem to do anything. I have tried FitLayout too without much luck.
Thanks
Tony
<South Collapsible="True" Split="True" MaxHeight="200px" MinHeight="200px" >
<ext:Panel ID="SouthPanel" Icon="comments" runat="server" Title="Site Comments" Height="200px" Comments" BodyStyle="padding:0px;" AutoScroll="True" >
<Content>
<ext:TextArea StyleSpec="display:inline;" ID="SiteCommentsTextArea" Height="128px" AutoWidth="true" runat="server">
</ext:TextArea>
</Content>
<Buttons><ext:Button ID="EditSiteCommentsButton" Icon="commentedit" StyleSpec="display:inline;" runat="server" Text="Edit Comments">
</ext:Button>
</Buttons>
</ext:Panel>
</South>