Thanks to everyoen that reponded and provided information. I think I have the view positioning understood now. Everything I have works except for ulink. I'm having a problem with ulink "spilling" out past the view boundaries.
-----Original Message----- From: Matthew Cloy [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 1:38 AM To: Schultz, Gary - COMM Cc: '[email protected]' Subject: Re: [Laszlo-user] Openlaszlo box model? Hi Gary, So... AFAIK, Coordinates are always relative to the parent view. (This means all sibling views retain the same coordinate system). This is after any "placement" or "defaultplacement" changes to the view hierachy. A view is "clipped" if you specify the clipped="true" flag on it. If not clipped then even though the view may be 10 units wide, a larger view will "spill" out visually. I think that as far as rendering the views is concerned, there's no other rules to take into account. There isn't really a "box" model as all views are just One rectangular area. If you have an example of where you're getting confused that might help... Of course if you add a layout into your view it will arrange the views accordingly, but the coordinate system for each still stays the same. Cheers! Matt Schultz, Gary - COMM wrote: > I should have added that there is some urgency to this. If I cannot > get OpenLaszlo to perform as needed for the web project by the end of > this week, my boss is pulling the plug on using Openlaszlo and that > will pretty much end any future OpenLaszlo development in our agency. > > Gary Schultz > Wisconsin Department of Commerce > > ------------------------------------------------------------------------ > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of > *Schultz, Gary - COMM > *Sent:* Wednesday, January 31, 2007 3:36 PM > *To:* '[email protected]' > *Subject:* [Laszlo-user] Openlaszlo box model? > > Is there any resource that helps describe the OpenLaszlo "Box > Model", something similar to the CSS box model. I'm having a very > hard time trying to figure out when Openlaszlo renders something > such as a view in an "absolute" position versus a "relative" > position to another view. I have situations where I think > something should be relative it ends up being absolute and > text renders outside a containing view. > > I'm trying to implement OpenLaszlo for a web project, but honestly > have spent way too much time trying too learn it and use it. But > since I'm as far as I am, I figure I might as well go with > OpenLaszlo. But the positioning of views, text etc. is driving me > nuts. > > Gary Schultz > Wisconsin Department of Commerce >
