IE and GWT default browser are the same thing ;)....
the code seems ok but the datefield is inside some panel so
it's important the way you add inside it. Maybe the error is
not in the datefield but on siblings....
You can try to add an anchorlayout to the parent panel and
use anchorlayoudata when you add the textfield.
Have you tried to show the app with mozilla and firebug...
is there any javascript error?
Try also without setting the value and without setting the
formatter, isolate the problem...

bye and good luck,
Pat



2009/6/23 subbu <[email protected]>

>
> Hi,
>    This is my code.Its working IE and GWT default browser.
>
>  DateTimeFormat dateFormatter = DateTimeFormat.getFormat("d.m.Y
> h:s");
>  Date today = new Date();
>         final DateField dob = new DateField();
>         dob.setAllowBlank(false);
>         dob.setFormat(dateFormatter.getPattern());
>         dob.setValue(new Date(today.getTime()-86400000));
>         dob.setWidth(125);
>
> On Jun 22, 5:52 pm, Patrizio De Michele <[email protected]> wrote:
> > First of all post your code.
> > Bye Patrizio
> >
> > 2009/6/22 Adam Fredericks <[email protected]>
> >
> >
> >
> > > Did you change any of the CSS or are you using a customer container
> Cls?
> > > If it's smooshing it in firefox only, the culprit may be a missing
> > > "display:block;" in the css since IE will usually go into quirks mode
> > > for GWT-Ext and firefox will try and display it "properly".
> >
> > > Or, is the datefield attached to the interface via an anchor, border,
> or
> > > fitlayout to a panel that renders initially as hidden (like a second
> tab
> > > or item in a cardlayout)? If so, try setting the hidemode to "offsets"
> > > on the element which contains the datefield.
> >
> > > Or, is the datefield attached to a layout that is not a formlayout?
> Such
> > > as a formpanel with an anchorlayout or a HorizontalLayout? This causes
> > > weird things to occur with the size.
> >
> > > You can also try doing a setWidth and then a .syncSize() on the
> > > datefield after render.
> >
> > > Adam
> >
> > > -----Original Message-----
> > > From: [email protected] [mailto:[email protected]] On
> > > Behalf Of subbu
> > > Sent: Monday, June 22, 2009 6:31 AM
> > > To: GWT-Ext Developer Forum
> > > Subject: datefiled not showing in firefox
> >
> > > Hi all,
> > >        I have added a datefiled its working and showing in GWT
> > > default browser and IE but its not showing in firefox.In fact its
> > > shwoing in firefox but not shwoing in full length i have given width
> > > as 150.But in firefox,its showing only a small area so that i can
> > > enter only one digit there.Is there any soln.
> >
> > > With Thanks and Regards,
> > >                                  Subash
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to