Hard to say without seeing the code. But basically, you need to make sure that 
the scroll pane is given a width and/or height that is smaller than its 
preferred size. Then the scroll bars will appear.

On Sep 8, 2011, at 9:17 AM, pavan vadavalli wrote:

> 
> HI Greg,
> Can you please help me to point to the issue in layout design that is causing 
> the Scrollbar to not to appear?
> Thanks and Regards,
> Pavan
> On 7/09/2011 7:10 AM, pavan vadavalli wrote:
>> Hi Greg,
>> I have been actually trying to implement an MDI based solution, this is part 
>> of the Task Bar implementation. I have updated the Skin in Terra Theme since 
>> i didn't find and easy option to plugin the skin.
>> Attached is the skin for the TaskBar.
>> in the taskbar Layout
>> The contents are added as below.
>> 
>>    TaskBar taskBar = (TaskBar)getComponent(); this.getComponent();
>>        taskBar.setContent(taskBarContents);
>>         
>> taskBarContents.setSize(taskBar.getPreferredWidth(),taskBar.getPreferredHeight());
>>         taskBarScrollPane.setPreferredHeight(taskBar.getPreferredHeight());
>>         taskBarScrollPane.setPreferredWidth(taskBar.getPreferredWidth());
>>         taskBar.setMaximized(true);
>> 
>> I have added the ScrollPane to the window and i have set maximized in all 
>> the places for the window.
>> What am i missing here?
>> -Pavan
>> 
>> On 7/09/2011 6:47 AM, Greg Brown wrote:
>>> Sounds like you might have a different layout issue in your 2nd window.
>>> 
>>> On Sep 6, 2011, at 4:41 PM, pavan vadavalli wrote:
>>> 
>>>> Hi Greg,
>>>> You are correct, this is working as an independent window.
>>>> 
>>>> I was testing this along in  my application where i have two windows ( the 
>>>> main Window and second Window ).
>>>> The main Window is the owner of the Second window.
>>>> the Second window is the class extending Window and i have set the 
>>>> Maximized to true for the second window along with the main window aswell.
>>>> But the Scrollbar is not popping up in this case.
>>>> Thanks and Regards,
>>>> Pavan
>>>> 
>>>> On 7/09/2011 6:16 AM, Greg Brown wrote:
>>>>>> Attached is the updated XML
>>>>> Works for me. See attached.
>>>>> 
>>>>>> However, i was actually looking for a more flexible solution like 
>>>>>> scrollpane content can stretch itself with the size of the the Parent 
>>>>>> Window and can show all the elements.
>>>>> That's exactly what setting maximized="true" on the Window does.
>>>>> 
>>>>> 
>>>>> 
>>>>> 

Reply via email to