Re: Initial positioning of Dialog

2014-11-03 Thread Scott Palmer
> On Nov 3, 2014, at 8:44 AM, ngalarn...@abinitio.com wrote: > > Scott, > > When you say it works for you, which java are you running? > - Java 8 (1.8u25) with openjfx-dialogs-1.0.2 like Pete > - Java 8 update 40 pre-release > - something else? > > Using the released 8u25 with openjfx-dialogs-1

Re: Initial positioning of Dialog

2014-11-03 Thread Stephen F Northover
Hi Pete, If this is a bug in JFX dialogs that are part of 8u40, please enter a bug report with a small but complete code example and a set of steps. Thanks, Steve On 2014-11-01, 8:03 AM, Pete Moss wrote: Just getting started using the new openjfx-dialogs. One thing that annoys me is the defa

Re: Initial positioning of Dialog

2014-11-03 Thread ngalarneau
: Scott Palmer To: Pete Moss , Cc: "openjfx-dev@openjdk.java.net" Date: 11/01/2014 11:00 AM Subject: Re: Initial positioning of Dialog Sent by:"openjfx-dev" Ah, I the controlsFX code must be doing something to position the dialog. Perhaps you ca

Re: Initial positioning of Dialog

2014-11-01 Thread Scott Palmer
Ah, I the controlsFX code must be doing something to position the dialog. Perhaps you can step into the code and see what it is doing. The behaviour without a owner appears to be the standard behaviour - centre on the screen. Scott > On Nov 1, 2014, at 9:39 AM, Pete Moss wrote: > > I get dif

Re: Initial positioning of Dialog

2014-11-01 Thread Pete Moss
I get different behavior. I am using JavaFX 8 (1.8u25) with openjfx-dialogs-1.0.2 which is part of controlsfx-8.20.8. Here is my show code: OptionsDlg dlg = new OptionsDlg(); // where OptionsDlg extends Dialog dlg.initOwner(mainWnd.getScene().getWindow()); dlg.showAndWait(); When I

Re: Initial positioning of Dialog

2014-11-01 Thread Scott Palmer
I was just addressing a bug in my application related to this. The behaviour you describe happens only in Java FX 2.x. In JavaFX 8 the dialog still appears in the centre of the display, but it chooses the correct display based on where the parent window is. I ended up adding a bit of code to r