Gorm : Xib loading doesn't respect size

2013-06-23 Thread forumer
Hi, I am working a bit with Gorm these days and I have found some bugs but the most annoying to me is it doesn't respect the size. I took 3 screenshots of a sample xib, one with XCode on Mac and the two others with Gorm respectively on linux and windows and I have merged the result here : htt

Re: Gorm : Xib loading doesn't respect size

2013-06-24 Thread forumer
I would need to setup a dev. environment to debug gnustep on windows but in the mean time I am having a look at source code but I don't know which parts of code is used. Could you tell me if Win32Server.m is used when using the cairo backend ? In this case I don't really understand the GSScree

Re: Gorm : Xib loading doesn't respect size

2013-06-24 Thread forumer
Oh I think I understand what you are doing in GSScreenRectToMS and in this case I would propose something like : static inline RECT GSScreenRectToMS(HWND hwnd, NSRect r) { RECT r1; DWORD dwStyle = GetWindowLongPtr( hwnd, GWL_STYLE ) ; DWORD dwExStyle = GetWindowLongPtr( hwnd, GWL_EXS