Re: CSS Transitions

2023-07-26 Thread Kevin Rushforth
inline On 7/24/2023 5:09 PM, Michael Strauß wrote: My comments below: On Tue, Jul 25, 2023 at 1:18 AM Kevin Rushforth wrote: This seems like it might be a useful feature, if enough applications would want to take advantage of it. If we proceed, I have a couple comments: * All of our existin

Re: CSS Transitions

2023-07-25 Thread Michael Strauß
> This seems like it might be a useful feature, if enough applications > would want to take advantage of it. I think this feature is mainly useful for style themes, because it allows creating subtle animations for state transitions (hover, click, etc). Applications will probably continue to use th

Re: CSS Transitions

2023-07-24 Thread Michael Strauß
My comments below: On Tue, Jul 25, 2023 at 1:18 AM Kevin Rushforth wrote: > > This seems like it might be a useful feature, if enough applications > would want to take advantage of it. > > If we proceed, I have a couple comments: > > * All of our existing CSS attributes use "-fx-" as a prefix. My

Re: CSS Transitions

2023-07-24 Thread Kevin Rushforth
This seems like it might be a useful feature, if enough applications would want to take advantage of it. If we proceed, I have a couple comments: * All of our existing CSS attributes use "-fx-" as a prefix. My preference would be to do that for transitions as well, absent a compelling reason

Aw: Re: CSS Transitions

2023-07-24 Thread Marius Hanl
I think this is a good feature to have in JavaFX, especially as it makes it much easier to animate the UI.This looks good to me API wise. Since you implemented this as in modern CSS, this is also very easy for people coming from the Web.-- Marius Am 17.07.23, 21:24 schrieb "Michael Strauß" :

Re: CSS Transitions

2023-07-22 Thread Markus Mack
I'd love to see this feature in JavaFX. This would allow for much cleaner (and better reusable) implementations of modern-looking UI which I'd like to have for current and future JavaFX projects. In the current state of JavaFX, you'd usually need to roll your own custom control skins which is n

Re: CSS Transitions

2023-07-17 Thread Michael Strauß
Here's an updated summary of the proposed feature: https://gist.github.com/mstr2/c72f8c9faa87de14926978f517a6018a And here's the full implementation: https://github.com/openjdk/jfx/pull/870 I'm interested in hearing from you whether you think this is a useful feature and whether the proposed API

Re: CSS Transitions

2023-07-11 Thread Michael Strauß
My comments inline: On Tue, Jul 11, 2023 at 11:28 PM John Hendrikx wrote: > > Should this also provide fx-ease-in (etc) if you want to be compatible > with other FX animations instead of CSS ones (which have little meaning > in FX apps) ? Yes, I think that's a good idea. > > Note that step-wis

Re: CSS Transitions

2023-07-11 Thread John Hendrikx
Just a few questions inline: On 11/07/2023 21:52, Michael Strauß wrote: Easing Functions CSS Transitions specifies the `transition-timing-function` sub-property to define easing functions (see CSS Easing Functions [4]). Here is a list of all easing functions available in CSS Eas