These differences, even though I understand where you're coming from, make it very difficult to design for Cocoa Apps with a Carbon IDE.
The problem is that Cocoa and Carbon are two different measurement systems, even though they look alike.
In theory, we could go of the premises:
"Carbon IDE should be WSYSIGW for Cocoa apps"
and that would require LCL to emulate Carbon measurements for Cocoa (adding or subtracting a extra pixels here in there).
While in theory it's possible to do, in practice that would cause a lot of useless code.
That would become even more useless, if Apple changes their design again.
Looking into the future (of x64 only apps, w/o any Carbon), there would be nothing to replicate. So what's the point?
I'd recommend to see Carbon and Cocoa as two separate widgetsets in this case.
When you develop cross-platform apps, you understand that controls might look different on macOS vs Windows vs Linux.
You should take the similar approach, while designing in Carbon IDE. Don't expect that it would be 1 to 1 in Cocoa.
OK, thanks for looking into that issue. So the solution is always using anchors I guess. I can work with that.
Could it be that there are some border/bezel width issues/differences?
Yes, borders/bezels might be different.
These differences, even though I understand where you're coming from, make it very difficult to design for Cocoa Apps with a Carbon IDE.
As a matter of fact, it's not. Even though Carbon and Cocoa metrics are different, they're not very far.
So using anchors should allow you to create a fluent UI that would look nice for either widget (Carbon or Cocoa)
Forgot to mention: I updated to the latest SVN just before doing this test (SVN Revision 56899M from 1/1/2018).
Right now most of the components, at designtime, cannot be moved/resized/selected.
I'm not trying to fix IDE.
Instead I'm trying to resolve issues related to Cocoa-WS. Once those are done, IDE should work just fine as is.
Also: will there ever be a Cocoa IDE?
oh yes! as soon as Apple switches to x64 only, we won't have much options left.
