Thanks, Tucker.
On Tue, Aug 23, 2011 at 12:30 PM, P T Withington <[email protected]> wrote:
> numberExpression implements the magic that allows you to set x/y to a % of
> your parent's width/height. Not the best of names. And not really
> necessary, more of a historical artifact. It would be better if there were a
> way for attributes to specify what the base attribute is when a relative
> value is given -- it should be built into the CSS system.
>
> On 2011-08-23, at 06:08, Raju Bitter wrote:
>
>> What exactly is the difference between the @lzxtype number and
>> numberExpression, based on
>> http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
>>
>> /** The horizontal offset of this view's upper left corner from the
>> * upper left corner of its container.
>> * @type Number
>> * @lzxtype numberExpression
>> * @lzxdefault "0"
>> */
>> var x = 0;
>>
>> /** The angle for the drop shadow, in degrees
>> * @access public
>> * @type Number
>> * @lzxtype number
>> * @lzxdefault 0
>> */
>> var shadowangle = 0;
>>
>> Why is the @lzxtype for "x" numberExpression, and for "shadowangle"
>> just "number". Is there a functional difference between both
>> attributes?
>
>