Re: Double.MAX_VALUE in CSS -fx-max-width?

2014-07-28 Thread Werner Lehmann
Hi David, thanks - here it is: [#RT-38065] CSS -fx-pref-width et al do not accept infinity value Werner On 28.07.2014 05:31, David Grieve wrote: Hi Werner, Please file a bug. I'll have to update the parser to accept 'infinity' as a value.

Re: Double.MAX_VALUE in CSS -fx-max-width?

2014-07-27 Thread David Grieve
Hi Werner, Please file a bug. I'll have to update the parser to accept 'infinity' as a value. On 7/24/14, 1:11 PM, Werner Lehmann wrote: Hi, since FX8 we have a styleable property -fx-max-width on Region. I'd like to use this to replace the FXML attribute Node maxWidth=Infinity/ with

Double.MAX_VALUE in CSS -fx-max-width?

2014-07-24 Thread Werner Lehmann
Hi, since FX8 we have a styleable property -fx-max-width on Region. I'd like to use this to replace the FXML attribute Node maxWidth=Infinity/ with CSS -fx-max-width: Infinity; This is actually a notation to achieve the equivalent of this code: node.setMaxWidth(Double.MAX_VALUE);