Great!!
v.frameLeft=w.Width/2+100
v.frameWidth=w.Width-v.frameLeft-10
in the Resizing Event and replacing:
v.autoresizingMask = v.NSViewMinXMargin + v.NSViewMinYMargin
with
v.autoresizingMask = v.NSViewNotSizable + v.NSViewMinYMargin
And that's it!
Many thanks.
Jean-Luc Arnaud
Le 04/02/2016 18:09, Christian Schmitz a écrit :
>> What I'm expecting is a right border locked to the right, and a left
>> border keeping the same distance from the middle of the window.
>>
>> Maybe is it not possible?
> ah. Than use no logging and change frame yourself in Resizing event.
>
> But don't recreate the control to change it's position each time.
>
> Sincerely
> Christian
>
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info