I was looking at it from a lesser of 2 evils stand point. Developers who want the padding can easily add it. Developers who don't want it have to jump hoops to override the style. Seems like it shouldn't be there if that is the case...
I was not aware of the postfix !important, it did the trick. Thanks, Pat On Oct 29, 1:38 pm, Jeff Larsen <[email protected]> wrote: > 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 <[email protected]> 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 > > [email protected] > > > On Fri, Oct 29, 2010 at 12:08 PM, Patrick Tucker <[email protected]>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 [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-web-toolkit%2Bunsubs > > > [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.
