gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pixel-aligned autoresizing


From: Fred Kiefer
Subject: Re: Pixel-aligned autoresizing
Date: Fri, 08 Jul 2011 00:19:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

On 07.07.2011 10:16, Eric Wasylishen wrote:
On a related note, I added a test case for autoresizing to
Tests/gui/NSView/NSView_autoresize_and_rounding.m.

It looks like we have some differences from cocoa unrelated to
rounding, but related to how extra space is divided between the lower
margin, view size, and upper margin when NSViewMinXMargin or
MaxXMargin is combined with NSViewWidthSizable.

I tried to fix the autoresizing behaviour and now it passes the first of your tests. Looks like we will need to add the pixel alignment to pass the second one :-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]