wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

Error when setting an ItemRenderer in the TimeLine #174

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Take Sample 3 in the Scheduling Framework
2. Set the itemRenderer in the TimeLine

<scheduling:Timeline 
      id="timeline"
      width="{ scheduleViewerWidth }" 
      startDate="{ startDate }" endDate="{ endDate }" 
      zoom="{ zoom }" 
      scroll="onScrollTimeline( event.position );" 
   itemRenderer="flexlib.scheduling.timelineClasses.SimpleTimeLineItemRenderer"
      />
3. Build and run

What is the expected output? What do you see instead?
The timeLine should use the itemRenderer.

The timelineViewer is null when getting and setting the itemrenderer.

Workaround:
Set the itemRenderer using the commitProperties

Original issue reported on code.google.com by gustavos...@gmail.com on 8 Nov 2008 at 11:04

GoogleCodeExporter commented 9 years ago

Original comment by dmcc...@gmail.com on 8 Jan 2009 at 6:09