Re: (Multi)Touch with Windows 7

2014-08-04 Thread Anthony Petrov
JavaFX 8 supports multi-touch input on MS Windows. I believe it's been developed/tested on Windows 7, although personally I don't have any touch-enabled Windows system to verify if it still works. If some specific gestures don't work on your system, please file a bug at

Re: css margin

2014-08-04 Thread David Grieve
I think you are looking for the padding property of Region. On 8/3/14, 6:07 PM, Pedro Duque Vieira wrote: Hi, I miss having a way to define a margin in css or in any other way like with java code. That is the rectangular white space between a node and the rest, like w3c css margin property.

[8u40] Review Request: (RT-37454) Node lookup with TabPane

2014-08-04 Thread David Grieve
Jonathan, If you could please, review http://cr.openjdk.java.net/~dgrieve/RT-37454/webrev.00 relative to https://javafx-jira.kenai.com/browse/RT-37454. Basically, I override the Node methods in TabPane. In the normal case, where the control has been skinned, the call to super.lookup will

Re: (Multi)Touch with Windows 7

2014-08-04 Thread Herve Girod
We have several multi-touch-enabled screens, and use JavaFX 8 on Windows 7, and it works fine.Note that he quality of the gesture recognition in the JavaFX framework will obviously depend on the screen, of course. 2014-08-04 14:02 GMT+02:00 Anthony Petrov anthony.pet...@oracle.com: JavaFX 8

Re: Calculating the preferred size of a node before layout takes place?

2014-08-04 Thread Richard Bair
autosize() on Node may be what you want (sizes it then afterward you can read values)? On Aug 4, 2014, at 10:56 AM, Mike Hearn m...@plan99.net wrote: I'd like to find the calculated height of a node in my window controllers initialise() method, so I can shrink the height to zero and then

Re: Calculating the preferred size of a node before layout takes place?

2014-08-04 Thread Jeff Martin
I was thinking that certain nodes (e.g., TextField) won’t provide a valid pref size until the window was made visible (and the CSS had been evaluated). A few times I’ve added code set Window Opacity to zero, do a Window show/hide, then reset Window Opacity to one. Then you should get valid pref

8u-dev unlocked -- M1 rampdown in effect

2014-08-04 Thread Kevin Rushforth
The 8u-dev repo is unlocked following this week's testing. As a reminder, milestone M1 rampdown is in effect this week (the usual exceptions apply for test, doc, and IDE changes). See https://wiki.openjdk.java.net/display/OpenJFX/Sanity+Testing for weekly freeze and milestone rampdown rules.

hg: openjfx/8u/rt: 30 new changesets

2014-08-04 Thread kevin . rushforth
Changeset: af217a8598ef Author:Jerome Cambon Date: 2014-07-28 10:34 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/af217a8598ef [SCENEBUILDER] Fix for DTL-6789: Inspector might ensure values for hValue / vValue on ScrollPane are within bounds !

Re: Calculating the preferred size of a node before layout takes place?

2014-08-04 Thread Tomas Mikula
If you are interested in the preferred height, prefHeight(-1) should get you what you want. If this is before the first layout pass takes place, you will also want to call applyCss() before prefHeight(-1). Note: prefHeight(-1) is what autosize() calls internally, but it does not call applyCss().

[8u40] API Review for RT-29012: Add support for vertex normals for meshes, in addition to smoothing groups

2014-08-04 Thread Chien Yang
Hi all, We would like to add support for a new vertex format that allows developers to specify their own normals for a given mesh. This work is small in its scope. It requires one new public class and a few new methods to two existing classes. When normals are provided using this new vertex

[8u40] Review request: (RT-37454) Node lookup with TabPane

2014-08-04 Thread David Grieve
Kevin, Steve, Jonathan has reviewed and given his +1 to https://javafx-jira.kenai.com/browse/RT-37454. I'm seeking your additional +1. Webrev is http://cr.openjdk.java.net/~dgrieve/RT-37454/webrev.00 http://cr.openjdk.java.net/%7Edgrieve/RT-37454/webrev.00 Thanks

RE: css margin

2014-08-04 Thread Pedro Duque Vieira
Hi David, No, padding and margin and two distinct concepts. Padding is the white space between the node and it's contents, whereas margin is the white space between the node and the other things around the node that are not part of the node. Here's a link:

Re: css margin

2014-08-04 Thread Pedro Duque Vieira
I should add that margins are often used in web design to make up the space between elements. I've also find myself wanting to add margins to nodes in javafx but not found any good way of doing it, since this property does not exist. Thanks, On Mon, Aug 4, 2014 at 10:15 PM, Pedro Duque Vieira

[8u40] Review Request: (RT-38065) CSS -fx-pref-width et al do not accept infinity value

2014-08-04 Thread David Grieve
Steve or Kevin, I'm seeking your approval for https://javafx-jira.kenai.com/browse/RT-38065. The change is small. I pasted the diff in JIRA

Re: css margin

2014-08-04 Thread David Grieve
https://javafx-jira.kenai.com/browse/RT-27785 On 8/4/14, 5:18 PM, Pedro Duque Vieira wrote: I should add that margins are often used in web design to make up the space between elements. I've also find myself wanting to add margins to nodes in javafx but not found any good way of doing it,

Re: css margin

2014-08-04 Thread Pedro Duque Vieira
Thanks David! I'm glad this is planned, even it is only for version 9. On Mon, Aug 4, 2014 at 10:29 PM, David Grieve david.gri...@oracle.com wrote: https://javafx-jira.kenai.com/browse/RT-27785 On 8/4/14, 5:18 PM, Pedro Duque Vieira wrote: I should add that margins are often used in web

[8u40] review request: RT-37974: Gtk: FX exits with GTK error when DISPLAY not set, should throw Exception

2014-08-04 Thread Kevin Rushforth
Hi Anthony, Please review the following: https://javafx-jira.kenai.com/browse/RT-37974 Thanks. -- Kevin

[8u40] Review request: RT-38011 StringConverter support for LocalDate/LocalTime/LocalDateTime

2014-08-04 Thread Leif Samuelsson
Hi Jonathan, Please review this fix which adds three new converter classes. https://javafx-jira.kenai.com/browse/RT-38011 http://cr.openjdk.java.net/~leifs/rt38011/webrev.02/ Thanks, Leif

Issue with Dialogs on jdk1.8.0_20

2014-08-04 Thread Sirish Vadala
Hello All, Right now I am working on a project running on JavaFX 8 (jdk1.8.0_05) and working on upgrading it to jdk1.8.0_20. However I am having issues with the dialogs. I am using ControlsFX to implement the dialogs. The following is the error message that I get:

Re: Issue with Dialogs on jdk1.8.0_20

2014-08-04 Thread Jonathan Giles
Sirish, This is a ControlsFX issue, not an OpenJFX issue. The discussion should take place in the ControlsFX discussion group over at http://groups.controlsfx.org Regarding this issue - you need to use the 8u20 version of ControlsFX if you want to run on JavaFX 8u20. Please read the release

Re: Issue with Dialogs on jdk1.8.0_20

2014-08-04 Thread Kevin Rushforth
This is a ControlsFX issue. Jonathan can point you at the right version you need to use. -- Kevin Sirish Vadala wrote: Hello All, Right now I am working on a project running on JavaFX 8 (jdk1.8.0_05) and working on upgrading it to jdk1.8.0_20. However I am having issues with the dialogs. I