Chapter 13 Examples
Here are the example applications for Chapter 13: Applying Behaviors, Filters, and Transitions.
4 comments4 Comments so far
Leave a reply
Here are the example applications for Chapter 13: Applying Behaviors, Filters, and Transitions.
4 comments
I added the Resize effect to the ContactViewer. When I click Edit in the base state (details), the resize effect doesn’t work. But when I click Save in the edit state, the resize effect does work. I also tried adding the resize effect to each state in the component. Same results.
Ensure that you’re adding the effect to the instance in its base state.
When I tried adding the Resize effect directly in the component, I did make sure I added it to the base state (and of course it then also was entered for the edit state automatically). But, as directed in the book, I first had just added the resize effect to the ContactViewer component embedded in the ContactManager app.
I also noticed in the source code a commented-out block containing transition and sequence tags. Were you also experiencing this resizing issue and were trying a different approach here?
I discovered that my problem was an errant SetProperty name=”height” entry with no value property. I think I had set and then removed the height value in Design mode. Once I removed this tag, the resizing worked fine both ways.