Hi,

On 05/27/12 22:00, Fred Kiefer wrote:
I tried to understand this issue and now think that the NSView extension methods in Frameworks/Cynthiune/NSViewExtensions.m are causing this problem. There the -centerViewHorizontally method exactly centres the view, which may place the view between pixels. A call to -centerScanRect (on the super view!) should resolve the issue.

well, in this point the code actually makes a horizontal centering so it is not a specific issue in this case, but I added the centering, since it could cause issues elsewhere.

A similar problem arises in the method [PreferencesController-setBundleView:], here both directions may getplaced incorrectly and of course, there may be plenty of other hidden places where this goes wrong in Cynthiune code.

yes, that brought me on the right track, thank you. i fixed it now and it looks fine.

Riccardo

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to