It is interesting why there is setCellHeight() function in the
DockPanel class and there is no similar function for colour ...
darkflame wrote:
> You have to use the Dom for this I think;
>
> How I did it was;
>
> DOM.setStyleAttribute(WidgetInTheCell.getElement().getParentElement(),
> "backgroundColor", HexColour);
>
> Where HexColour was the colour I wanted ("#FF0000" for instance), and
> WidgetInTheCell was a widget in the cell. (it dosnt colour the widget,
> but looks at its parent, which is the cell)
>
> Theres probably a better way then this, I'm still learning myself ;)
>
>
> On Jan 28, 8:07 pm, "[email protected]"
> <[email protected]> wrote:
> > May I change background color of center cell or any other cell of
> > dockPanel?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---