mudgen
7/29/2013 - 8:31 PM

Get 0 width of anchored layout component Get x of anchored layout component Get actual width of anchored layout component

Get 0 width of anchored layout component Get x of anchored layout component Get actual width of anchored layout component

container = event.source.parent

componentZeroWidth = -(container.width - container.designerWidth)

componentX = component.x - (container.width - container.designerWidth)

componentWidth = component.width - (container.width - container.designerWidth)

componentHeight = component.height - (container.height - container.designerHeight)