Issue with Resizable and Component size changes


#1

Hi Jules,

It looks like something is going wrong if I change the size of a Component inside resizable Window.
The Component setBounds triggers NSViewComponentPeer setBounds which calls [windows [setFrame.
This triggers frameChanged which calls NSViewComponentPeer::handleMovedOrResized.

Problem is, when is this function getBounds is called on the ComponentPeer, NSViewComponentPeer returns the old frame size not the one set in the same callback, so the component is set to its old size.
Well in fact only the old width. The new height is set correctly.

Any idea ?

Thanks,


#2

I tried to recreate this but it all seemed to work ok. Can you give me some example code?