sjivan / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

DateField Width Bug #491

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
What is the expected output? What do you see instead?

http://gwt-ext.com/forum/viewtopic.php?f=8&t=3675&p=11366#p11366
The bug is that the meaning of width is not consistent. Before rendering it
is only the text box associated with it in the width. The dynamic call
later includes the little button on the side that calls up the calendar.
The problem with this the first date field is always bigger than the rest
and looks ugly once you start adding more fields. I have fixed this with a
hack, but that is not ideal.

also if you hide a trigger and then display it and later show the trigger
then it is rendered differently.

maybe this issue affect all trigger fields!?

Please provide any additional information below.

Original issue reported on code.google.com by nietz...@gmail.com on 29 Apr 2009 at 8:50

GoogleCodeExporter commented 8 years ago
I solve the problem :P

Use public void setWidth(int width)
insted of public void setWidth(java.lang.String width)

But the problem is still open.

Original comment by bbarczyn...@gmail.com on 4 Sep 2009 at 3:32

GoogleCodeExporter commented 8 years ago
I have the same problem, bbarczynski's solution does not work. Could you please 
post
your hack? 

Original comment by Armia...@gmail.com on 21 Oct 2009 at 2:43

GoogleCodeExporter commented 8 years ago
I have found solution, you must set the width of the DateBox again after calling
method doLayout() on the parent panel.

Original comment by Armia...@gmail.com on 26 Oct 2009 at 9:31