Friday, October 29, 2010

Re: gwt-TabLayoutPanelContent adding 6 px of padding

You can also add !important to the end of your style definition and
that'll override the inline

padding: 3px 3px 3px 3px !important; should work (as an example).

On Oct 29, 11:33 am, John LaBanca <jlaba...@google.com> wrote:
> The default styles won't work in every case.  For something like padding,
> some users will prefer the padding so the widget isn't against the edge of
> the panel, and some won't because they want the widget to fill the entire
> panel.  Either way, there is no perfect answer that fits all apps.
>
> Thanks,
> John LaBanca
> jlaba...@google.com
>
> On Fri, Oct 29, 2010 at 12:08 PM, Patrick Tucker <tucker...@gmail.com>wrote:
>
>
>
>
>
>
>
> > When I place an object into a TabLayoutPanel it adds the style gwt-
> > TabLayoutPanelContent.
>
> > This style adds 6 px of padding to my widget.  In my style sheet I
> > have already set the padding value I want it to have.  Is there any
> > way you guys can remove this from the SDK?
>
> > I have to either modify the style or set the padding in javascript
> > after the tab has been loaded to fix this problem.  Either way is an
> > annoyance.
>
> > Thank,
> > Pat
>
> > --
> > 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-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment