ComboBox does not line up

7 views
Skip to first unread message

Terrance.Macgregor

unread,
Aug 14, 2008, 1:23:34 PM8/14/08
to GWT-Ext Developer Forum
Hi,

I tried a very basic combobox dropdown and get this strange issue with
both Firefox 2.0.0.16 and I.E. 7.0.5730.11.

I did not include the code because it was pretty messy. I am just
looking for someone who experienced this in the past.


Any suggestions would be appreciated: See this link

http://picasaweb.google.com/terrance.macgregor/GWTScreenshots/photo#5234408451091507330


Terrance.Macgregor

unread,
Aug 14, 2008, 1:30:36 PM8/14/08
to GWT-Ext Developer Forum
Ok, I grabbed some sample code just to be a little more complete:

Main is a BorderLayout panel and is the viewport panel that gets
added: new Viewport(main);

Panel selPanel= new Panel();
selPanel.setPaddings(15);
FormPanel formPanel= new FormPanel();
formPanel.setLabelWidth(35);
ComboBox combo = new ComboBox();
combo.setWidth(200);
formPanel.add(combo);
selPanel.add(formPanel);
main.add(selPanel, northData);


On Aug 14, 1:23 pm, "Terrance.Macgregor"
> http://picasaweb.google.com/terrance.macgregor/GWTScreenshots/photo#5...

Terrance.Macgregor

unread,
Aug 14, 2008, 1:52:11 PM8/14/08
to GWT-Ext Developer Forum
Ok, I ran the example code found here (http://www.gwt-ext.com/demo/
#basicComboBox ), making this minor change:

new Viewport(panel);
// RootPanel.get().add(panel);

Same issue. Is there a bug somewhere? This looks like a really easy
thing and should not be causing this much trouble.

Thanks,

Terry


On Aug 14, 1:30 pm, "Terrance.Macgregor"

Sanjiv Jivan

unread,
Aug 14, 2008, 2:10:43 PM8/14/08
to gwt...@googlegroups.com
Can you describe in further detail what "doesn't line up"?

Does this help? http://gwt-ext.com/forum/viewtopic.php?f=8&t=1975

Sanjiv

Terrance.Macgregor

unread,
Aug 14, 2008, 2:52:29 PM8/14/08
to GWT-Ext Developer Forum
Sanjiv,

Good to hear from you! Yes, check out the picture in my original
post. I am going to look into the css her in a minute.

Thanks,

Terry

On Aug 14, 2:10 pm, "Sanjiv Jivan" <sanjiv.ji...@gmail.com> wrote:
> Can you describe in further detail what "doesn't line up"?
>
> Does this help?http://gwt-ext.com/forum/viewtopic.php?f=8&t=1975
>
> Sanjiv
>
> On Thu, Aug 14, 2008 at 1:23 PM, Terrance.Macgregor <
>
> terrance.macgre...@gmail.com> wrote:
>
> > Hi,
>
> > I tried a very basic combobox dropdown and get this strange issue with
> > both Firefox 2.0.0.16 and I.E. 7.0.5730.11.
>
> > I did not include the code because it was pretty messy. I am just
> > looking for someone who experienced this in the past.
>
> > Any suggestions would be appreciated: See this link
>
> >http://picasaweb.google.com/terrance.macgregor/GWTScreenshots/photo#5...

Terrance.Macgregor

unread,
Aug 14, 2008, 2:59:51 PM8/14/08
to GWT-Ext Developer Forum
Sanjiv to the rescue.

GWT needs to remove this line completely from their GWT app generation
code for the default CSS styling sheet:

img {
margin-top: 20px;
}

Thanks for posting and sorry for wasting time on an issue that was
already addressed.

Terry MacGregor


On Aug 14, 2:52 pm, "Terrance.Macgregor"

Terrance.Macgregor

unread,
Aug 15, 2008, 11:15:34 AM8/15/08
to GWT-Ext Developer Forum
Google fixed this: http://code.google.com/p/google-web-toolkit/source/detail?r=3519

On Aug 14, 2:10 pm, "Sanjiv Jivan" <sanjiv.ji...@gmail.com> wrote:
> Can you describe in further detail what "doesn't line up"?
>
> Does this help?http://gwt-ext.com/forum/viewtopic.php?f=8&t=1975
>
> Sanjiv
>
> On Thu, Aug 14, 2008 at 1:23 PM, Terrance.Macgregor <
>
> terrance.macgre...@gmail.com> wrote:
>
> > Hi,
>
> > I tried a very basic combobox dropdown and get this strange issue with
> > both Firefox 2.0.0.16 and I.E. 7.0.5730.11.
>
> > I did not include the code because it was pretty messy. I am just
> > looking for someone who experienced this in the past.
>
> > Any suggestions would be appreciated: See this link
>
> >http://picasaweb.google.com/terrance.macgregor/GWTScreenshots/photo#5...

Sanjiv Jivan

unread,
Aug 15, 2008, 11:24:24 AM8/15/08
to gwt...@googlegroups.com
Great!
Reply all
Reply to author
Forward
0 new messages