No what I meant was ..

DockPanel docPanel = new DockPanel();

VerticalPanel centerPanel = new VerticalPanel();
centerPanel.setStyleName("CENTER_STYLE")
dockPanel.add(centerPanel, DockPanel.CENTER);


VerticalPanel westPanel = new VerticalPanel();
westPanel.setStyleName("WEST_STYLE")
dockPanel.add(westPanel, DockPanel.WEST);

VerticalPanel eastPanel = new VerticalPanel();
eastPanel.setStyleName("EAST_STYLE")
dockPanel.add(eastPanel, DockPanel.EAST);

ofcourse you can use any panel type you want other then VerticalPanel.


- Abdullah

On Thu, Dec 31, 2009 at 2:05 PM, muhannad nasser <[email protected]>wrote:

> ..... thanks for ur reply.. i  have tried to do so... but i can only add
> the alignment to the area when adding the widget.. but i have another idea,
> ensureDebugId will give each area its own unique Id so i can use that to
> apply the CSS class i want....
>
> but until now ensureDebugId is not working ....
>
> thanks again
>
>
> On Thu, Dec 31, 2009 at 10:20 AM, Abdullah Shaikh <
> [email protected]> wrote:
>
>> I am not sure, but I guess you need to set the style on the Panel which
>> you will be adding to the DockPanel.
>>
>> - Abdullah
>>
>> On Thu, Dec 31, 2009 at 12:49 PM, muhannad nasser <
>> [email protected]> wrote:
>>
>>> Dear All;
>>>
>>> i want to add a style on a DockPanel cell, such ass the north area, or
>>> the west area only......
>>>
>>> can anyone please help me
>>>
>>> --
>>> ~~~With Regards~~~
>>> Muhannad Dar-Nasser
>>> ~~Computer Systems Engineering~~
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to [email protected]
>>> .
>>> To unsubscribe from this group, send email to
>>> [email protected]<google-web-toolkit%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> ~~~With Regards~~~
> Muhannad Dar-Nasser
> ~~Computer Systems Engineering~~
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to