[vw 7.9] Panel - Translation problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[vw 7.9] Panel - Translation problem

Terry Raymond

Hi

 

I have been using Panel for an application and encountered a problem that I

think is a basic issue with the panels.

 

While constructing my windows, several of which have nested panels and

combine panels with older visual parts, I noticed that the first element in a

panel did not seem to display at the proper position. Eventually, I noticed that

when a panel is displaying itself that it does not translate the gc by its own

frame’s origin before displaying its children.

 

It seems that the panels take the position that it is the parent’s responsibility

to position the child before having the child display itself. This is contrary to the

the way the older wrappers work. They translate themselves and delegate the

position responsibility to the child. Why was this change made? I think the panels

should be changed so the parent does not position the child.

 

Comments anyone?

 

Terry

 

===========================================================

Terry Raymond

Crafted Smalltalk

80 Lazywood Ln.

Tiverton, RI  02878

(401) 624-4517      [hidden email]

===========================================================

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc