Re: Layout UI Objects and GWT Themes

2010-06-15 Thread Stefan Bachert
Hi,

Old widgets uses a 9-box (a table with 3x3 entry).

CSS3 allows to similate a 9 box with border images.
However, images inccrease download time.

And CSS3 allows to apply rounded corner (-o/-moz/-webkit/-border-
radius)


Without a modern browser you still have to take 9 box.

Stefan Bachert
http://gwtworld.de



On Jun 14, 7:57 pm, lineman78 linema...@gmail.com wrote:
 Does anyone know if there is a way to theme the new layout-based
 panels?  I.E. TabLayoutPanel to look like DecoratedTabPanel.  I know
 that they limited the amount of style classes involved in the new tab
 panel, so I cannot figure out a way to retrofit the DecoratedTabPanel
 styles to the TabLayoutPanel, such as rounded corner tabs.

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



Re: Layout UI Objects and GWT Themes

2010-06-15 Thread lineman78
Yeah, I am using the webkit and moz border radius for now.  I
understand that I could use decorated panel inside the tabs, but from
what I know you can't tell decorated panel to do just rounded corners
on the top.  I think what I may do is just use css3 stuff and when it
comes to browser selection use that to push a modern browser.  I just
wish that the GWT themes was fully supported with all the 2.0 stuff
including ClientBundle.

On Jun 15, 8:05 am, Stefan Bachert stefanbach...@yahoo.de wrote:
 Hi,

 Old widgets uses a 9-box (a table with 3x3 entry).

 CSS3 allows to similate a 9 box with border images.
 However, images inccrease download time.

 And CSS3 allows to apply rounded corner (-o/-moz/-webkit/-border-
 radius)

 Without a modern browser you still have to take 9 box.

 Stefan Bacherthttp://gwtworld.de

 On Jun 14, 7:57 pm, lineman78 linema...@gmail.com wrote:

  Does anyone know if there is a way to theme the new layout-based
  panels?  I.E. TabLayoutPanel to look like DecoratedTabPanel.  I know
  that they limited the amount of style classes involved in the new tab
  panel, so I cannot figure out a way to retrofit the DecoratedTabPanel
  styles to the TabLayoutPanel, such as rounded corner tabs.

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



Re: Layout UI Objects and GWT Themes

2010-06-14 Thread David Grant
I just did something similar. I created a decorated layout panel. I extended
Composite and implemented HasWidgets. So I can add child widgets to my
decorated layout panel in uibinder (without ui:layer elements, but that's
ok, mostly what I will be adding to my decorated layout panel is another
layout panel or some other type of panel anyways. My decorated layout panel
consists of an outer panel, a bunch of decorations (borders and corners
basically) and an inner panel (where I forward the HasWidgets methods to). I
hope that makes sense. I'm sure you could do something similar.

Dave

On Mon, Jun 14, 2010 at 10:57 AM, lineman78 linema...@gmail.com wrote:

 Does anyone know if there is a way to theme the new layout-based
 panels?  I.E. TabLayoutPanel to look like DecoratedTabPanel.  I know
 that they limited the amount of style classes involved in the new tab
 panel, so I cannot figure out a way to retrofit the DecoratedTabPanel
 styles to the TabLayoutPanel, such as rounded corner tabs.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.