Re: Popuppanel hight/width set to itself, does not work as expected

2010-01-30 Thread rakesh wagh
any one? On Jan 27, 11:11 am, rakesh wagh rake...@gmail.com wrote: Check this code: PopupPanel p = new PopupPanel(); p.setSize(p.getOffsetWidth() + px, p.getOffsetHeight() + px); As expected, nothing should happen., size of the popup panel should not change But you can notice that the size

Popuppanel hight/width set to itself, does not work as expected

2010-01-27 Thread rakesh wagh
Check this code: PopupPanel p = new PopupPanel(); p.setSize(p.getOffsetWidth() + px, p.getOffsetHeight() + px); As expected, nothing should happen., size of the popup panel should not change But you can notice that the size changes. Both height and width increases by the amount of padding

popuppanel hight/width set to itself, does not work as expected

2010-01-26 Thread rakesh wagh
Check this code: PopupPanel p = new PopupPanel(); p.setSize(p.getOffsetWidth() + px, p.getOffsetHeight() + px); As expected, nothing should happen., size of the popup panel should not change But you can notice that the size changes. Both height and width increases by the amount of padding