Hi Joe,

No, it's not a bug. The TabPanel has another component (DeckPanel)
which is the container
for the widgets you add to the TabPanel. Therefore your CSS should
contain an additional
selector for it. You can apply this selector in the code like this:

TabPanel tp = new TabPanel();
tp.setStylePrimaryName("tabPanel");
tp.getDeckPanel().setStylePrimaryName("tabPanelBottom");


CSS:

.tabPanel {
  width: 1100px;
  height: 700px;
}

.tabPanelBottom {
  border-color: #92c1f0;
  border-style: solid;
  border-width: 3px 2px 2px;
  overflow: hidden;
  padding: 6px;
/* eg.*/
height: 123px;
}


Does that work?

Michael


On Aug 6, 2:22 am, Joseph Arceneaux <[email protected]> wrote:
> Creating a generic TabPanel with corresponding CSS as follows:
> .tabPanel {
> width: 1100px;
> height: 700px;
>
> }
>
> results in correctly setting the width, but not the height.  Tweaking the
> values in Firebug yields similar results, I can change the height just fine,
> but not the width.  I've also noticed this with other widgets.
>
> Is this some sort of known bug?
>
> Thanks,
> Joe
--~--~---------~--~----~------------~-------~--~----~
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