Re: Pbm with PushButton and Images

2009-01-09 Thread Sumit Chandel
Hi Mogoye, Try explicitly setting the size of the PushButton to that of the image. ,For example, if your image is 64 x 64, call pushButton.setSize(64px, 64px); and it should be sized appropriately. I tested this out in hosted mode on Windows XP / GWT 1.5.3 / IE6 by placing a PushButton in a

Pbm with PushButton and Images

2009-01-06 Thread Mogoye
Hello all, I want to use PushButton with an image to define the look of the button. So my idea was to use the following code : Image img = _imgBundle.getImage(my_image.gif); PushButton button = new PushButton(img); panel.add(button); I don't understand why but in some buttons, the image is