« Rolling Your Own JavaFX "Custom Nodes": A Graphical Menu Example | Main | Progress Indicator: Creating a JavaFX Custom Node and Binding to a Model »

July 28, 2008

Comments

Jim Weaver

Kirill,

I misspoke when I said that there is just one animation timeline. Each button has its own timeline, so when the mouse is moved back an forth quickly they seem to be sharing one.

I'd like to ask your advice, as well as the advice of other readers. What should the resizing behavior be, given that I'd like a button to work independently of a menu, as well as in a menu with other buttons? Ideas, anyone?

Thanks,
Jim Weaver

Jim Weaver

Kirill,

Thanks. Your observation that they share the same animation timeline is correct. I try to minimize the number of timelines in a program to optimize performance, but can see where it would be preferred for each button to have its own timeline instance. I'll give that a try. By the way, I really enjoy your Pushing Pixels www.pushing-pixels.org blog!

Thanks,
Jim Weaver

Kirill

As you move the mouse over a button, it slowly grows (and then shrinks as you move the mouse out). Now, move the mouse quickly over the entire bottom row of icons and see that they seem to share the same animation timeline - instead of growing a little and then shrinking back as the mouse quickly passes over an icon, the entire row of icons grows together even when the mouse is no longer over that icon.

Jim Weaver

Kirill,

Thanks for testing the app. Can you please be more specific on the symptoms that you're experiencing?

Thanks,
Jim Weaver

The comments to this entry are closed.

Categories