I haven't tried this, but you could try to put a LayoutPanel in each
the DockLayoutPanel side you want to style, then style that
LayoutPanel and add any other widget inside this LayoutPanel.

On Aug 13, 11:52 am, cokol <[email protected]> wrote:
> then do the same - use the decoratorpanel as container for elements
> where you want to have corners, u might also want to create a
> composite having decoratorpanel wrapping elements...
>
> On 13 Aug., 19:07, Greg Dougherty <[email protected]> wrote:
>
>
>
> > Thanks, but it's not the panel I want to decorate, it's the elements
> > within the panel (i.e. I want to put a box around Center).
>
> > On Aug 13, 6:08 am, cokol <[email protected]> wrote:
>
> > > wrap you panel into DecoratorPanel then you can use 9box round corners
>
> > > On 12 Aug., 20:50, Greg Dougherty <[email protected]> wrote:
>
> > > > With a DockPanel I just create a CSS style, and apply it to the
> > > > Panel.  I did that with a DockLayoutPanel, and nothing seemed to
> > > > happen.  I searched the archives of this group for CSS and
> > > > DockLayoutPanel, and the concolusion I came to is that CSS doesn't
> > > > work with DLPs.  If that's not correct, I'd love to hear it, and see
> > > > an example of how to do it correctly.
>
> > > > Presumably the people writing GWT actually test the features they put
> > > > in it.  Given the paucity of example code, this belief has to remain
> > > > merely an assumption. :-(
>
> > > > Greg
>
> > > > On Aug 12, 12:59 pm, "dane.molotok" <[email protected]> wrote:
>
> > > > > How did you do it with a DockPanel? Wouldn't you want to style the
> > > > > elements you've placed in the panel? So it shouldn't matter if it's a
> > > > > DockPanel or a DockLayoutPanel.
>
> > > > > On Aug 12, 12:09 pm, Greg Dougherty <[email protected]>
> > > > > wrote:
>
> > > > > > The topic pretty much says it all.  I know how to do this for a
> > > > > > DockPanel.  How do I do it for a DockLayoutPanel?
>
> > > > > > Yes, I know, "use uibinder".  That doesn't work when you're building
> > > > > > things grammatically, which is what I'm doing.
>
> > > > > > BTW, why don't the Showcase application use ANY *LayoutPanels?  I
> > > > > > thought they were supposed to be the preferred way to do things, no?
>
> > > > > > Greg

-- 
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