Try adding maximized="true" to your <Window> element.

On Sep 4, 2011, at 1:07 AM, pavan vadavalli wrote:

> Thanks Greg,
> I tried to update the content Pane with TablePane instead of the BoxPane, 
> This helped to stretch the contents to the width of the windows, which wasn't 
> happening previously,
> But still the Scrollbar doesn't appear till the point i restrict the 
> Preferred Width or Height at the design time.
> In other case , the list of the elements were Cut down and the elements are 
> not displayed.
> 
> However, i would like the scrollpane to react to the resizing of the window, 
> and the user should be able to have access (using Scroll bars)to all the 
> elements regardless of the size of the parent Window.
> Whats missing here to achieve this?
> 
> Attached is the updated bxml.
> 
> Thanks and Regards,
> Pavan
> 
> On 29/08/2011 10:43 PM, Greg Brown wrote:
>> I think the problem is that you are using a BoxPane as your window's content 
>> element. Try removing that and making the TablePane the window content. Also 
>> be sure to set width="1*" on the TablePane.Column and height="1*" on the 
>> TablePane.Row.
>> 
>> On Aug 27, 2011, at 3:33 AM, pavan vadavalli wrote:
>> 
>>> Hi ,
>>> 
>>> I would like to understand the usage of ScrollPane. Tutorial has just 
>>> ImageView example
>>> Here i did a small test to add several Push Buttons to Boxpane added to a 
>>> Scroll Pane, But i dont see any Scroll Bar coming up.
>>> 
>>> Attached is the bxml test for Scroll pane.
>>> Can someone please help.
>>> Thanks and Regards,
>>> Pavan
>>> 
>>> <ScrollPaneTest.bxml>
> <ScrollPaneEx.bxml>

Reply via email to