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

Re: [Sc-devel] BUG: bounds_ always uses absolute origin

the fix for FlowView should be quite simple then:

		// after i am placed by parent...
view.decorator = FlowLayout(this.bounds.moveTo(0,0),Point(2,2),Point (4,4));

On Dec 14, 2007, at 2:48 PM, James Harkins wrote:

Sure, please do. I think I won't be able to make much progress on FlowView/FlowLayout until this is sorted.


On Dec 14, 2007, at 8:41 AM, Jan Trutzschler wrote:

Hi James,
my commit for relative CompositeView was a bit too quick. And a few problems arose from it. Your fix also doesn't really do what we want, because when we ask for the bounds of the view later , we would again get the absolute bounds ;-(
So i completely re-worked it in the c code.
I'm still testing it ... perhaps i could send you a copy to try it yourself?

: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

Sc-devel mailing list