Re: Google Maps and WebView on Retina Mac

2015-07-22 Thread Anton Tarasov
Hi Michael, Yes, this is a miss indeed. Thanks for reporting it. I've created a JIRA issue to fix it: https://bugs.openjdk.java.net/browse/JDK-8132149 Regards, Anton. On 17/07/15 15:26, Dr. Michael Paus wrote: I just ran Google Maps inside a JavaFX WebView and was a bit shocked when I saw h

Re: WebEngine, getDocument and JavaScript

2015-07-22 Thread Anton Tarasov
Hi Michael, On 15/07/15 22:38, Michael Pozhidaev wrote: Hi guys! Please help me just to make sure! Do I understand correctly that WebEngine.getDocument() method returns the document structure with all changes which JS scripts have already done on the document? Correct. Otherwise, it would be

Re: Simple equivalent to display: none?

2015-07-22 Thread Scott Palmer
Just do: node.managedProperty().bind(node.visibleProperty()); Then the visible property controls both. Scott > On Jul 22, 2015, at 8:33 AM, Mike Hearn wrote: > > One common layout task that seems harder than necessary in JavaFX is to > temporarily remove a node from the scene graph, without

Scene updates in a later pulse

2015-07-22 Thread Fisher, Robert
Suppose you have an 'cheap' scene-graph update that itself triggers an 'expensive' update. For example in a filtered list the cheap update could be deleting a single character in the filter text-box, and the expensive update is the subsequent change in the list-view content. Or for example with

Re: Simple equivalent to display: none?

2015-07-22 Thread Moises Chicharro
Sorry, I see you are setting it already with visible - note to self, skim less ;-) > On 22 Jul 2015, at 13:50, Moises Chicharro wrote: > > Is this what you need? > > public final void setManaged(boolean value) > > Property description: > Defines whether or not this node's layout will be manag

Re: Simple equivalent to display: none?

2015-07-22 Thread Moises Chicharro
Is this what you need? public final void setManaged(boolean value) Property description: Defines whether or not this node's layout will be managed by it's parent. > On 22 Jul 2015, at 13:33, Mike Hearn wrote: > > One common layout task that seems harder than necessary in JavaFX is to > tempor

Simple equivalent to display: none?

2015-07-22 Thread Mike Hearn
One common layout task that seems harder than necessary in JavaFX is to temporarily remove a node from the scene graph, without having to actually mess about with the parent container. In HTML you can do use #foo { display: none; } to hide something temporarily. In JFX you have to remove from the p