Re: openjfx-8u20-b23: Stuck in monocle build for armv7hf

2014-07-30 Thread Prasant J
On Thu, Jul 31, 2014 at 10:10 AM, Prasant J wrote: > On Wed, Jul 30, 2014 at 11:16 PM, Lisa Selle wrote: >> How did you install your arm toolchain? >> > > I'm using yocto (poky distribution) for my iMX6. I can build my own > SDK (toolchain). I'm using that. > I may have made some mistake is setti

Re: openjfx-8u20-b23: Stuck in monocle build for armv7hf

2014-07-30 Thread Prasant J
On Wed, Jul 30, 2014 at 11:16 PM, Lisa Selle wrote: > How did you install your arm toolchain? > I'm using yocto (poky distribution) for my iMX6. I can build my own SDK (toolchain). I'm using that. I may have made some mistake is setting up the toolchain (I will look into that one again). > http

Re: How to pause service when it's not visible in TabPane

2014-07-30 Thread Tomas Mikula
On Thu, Jul 31, 2014 at 12:51 AM, Tomas Mikula wrote: > I'm not sure I understand: you have many service subclasses, each of > them associated with a tab? If so, they can take the tab as an > argument to the constructor: > > abstract class TabService extends Service { > protected MyAbs

Re: How to pause service when it's not visible in TabPane

2014-07-30 Thread Tomas Mikula
I'm not sure I understand: you have many service subclasses, each of them associated with a tab? If so, they can take the tab as an argument to the constructor: abstract class TabService extends Service { protected MyAbstractService(Tab tab) { tab.selectedProperty().addList

hg: openjfx/8u-dev/rt: [Accessibility] implementing expand and collapse action for treeitem and tabletreeitem on Mac, use Control+Option+\

2014-07-30 Thread felipe . heidrich
Changeset: cf703edd10f2 Author:Felipe Heidrich Date: 2014-07-30 14:48 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/cf703edd10f2 [Accessibility] implementing expand and collapse action for treeitem and tabletreeitem on Mac, use Control+Option+\ ! modules/graphics/sr

Re: openjfx-8u20-b23: Stuck in monocle build for armv7hf

2014-07-30 Thread Lisa Selle
How did you install your arm toolchain? https://wiki.openjdk.java.net/display/OpenJFX/Cross+Building+for+Arm+Hard+Float If it's installed according to these instructions pkg-config should get picked up from the correct place and there should be no need to set any environment variables. Thank

[8u40] Review reequest: RT-38012 Date/time converters use unwanted format patterns

2014-07-30 Thread Leif Samuelsson
Hi Jonathan, Please review this fix which adds two new constructors to each of three converter classes. https://javafx-jira.kenai.com/browse/RT-38012 http://cr.openjdk.java.net/~leifs/rt38012/webrev.01/ Thanks, Leif

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Scott Palmer
There are a couple concepts here.. re-ordering, just like TableView columns, and "detaching" which would be required to drag a tab out of the TabPane. The API should reflect these related, but distinct, concepts. On Wed, Jul 30, 2014 at 11:51 AM, Stephen F Northover < steve.x.northo...@oracle.co

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Stephen F Northover
Thanks Tom, We'll take a look at the patch in the JIRA: https://javafx-jira.kenai.com/browse/RT-19659 Steve On 2014-07-30, 3:35 AM, Tom Schindl wrote: Hi, I'd like you to review the API proposed to make TabPane Tabs draggable. The proposed public API only allows to put the TabPane in DnD m

Re: [8u40] Review request: RT-38074: [macosx] Separate QTKit platform code from core media code so it can be removed for MAS

2014-07-30 Thread David DeHaven
JIRA Issue: https://javafx-jira.kenai.com/browse/RT-38074 Latest webrev: http://cr.openjdk.java.net/~ddehaven/RT-38074/rt.2/ Removed new makefile (eyesore), cleaned up/enhanced existing Makefile, fixed a compiler warning. Last iteration hopefully, I let it bake for 12 hours and haven't had the

Re: Skin layoutChildren: when to get bounds of child nodes?

2014-07-30 Thread Martin Sladecek
On 07/30/2014 05:12 PM, Werner Lehmann wrote: layoutChildren() { ... bip = child1.getBoundsInParent() if (bip.getMinX() == 0 && bip.getWidth() == 0) { vbox.layout(); bip = child1.getBoundsInParent(); } ... } I assume you don't change "child1" Nodes, so it should work. It sure

Re: Skin layoutChildren: when to get bounds of child nodes?

2014-07-30 Thread Werner Lehmann
Martin, thanks a lot for this elaborate explanation :) Here's an image of what I am talking about. http://postimg.org/image/t9a6esc71/ child1 is one of the labels in a hbox, e.g. "Query" or "Result" child2 is the blueish region. It needs to be positioned under one of those labels. I am doin

openjfx-8u20-b23: Stuck in monocle build for armv7hf

2014-07-30 Thread Prasant J
Hi, I'm trying to cross compile openjfx-8u20-b23 for armv7hf (Freescale iMX6Q). However, I'm stuck at this point: in file buildSrc/armv7hf.gradle pangoft cflags are being queried using exec { commandline...}. However, the pkg-config returns null as it does not find the correct PKG_CONFIG_PATH en

hg: openjfx/8u-dev/rt: Restoring some erroneously pushed files to previous changeset

2014-07-30 Thread mo . chicharro
Changeset: 72ae8aa29e73 Author:mchicharro Date: 2014-07-30 15:20 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/72ae8aa29e73 Restoring some erroneously pushed files to previous changeset ! .idea/copyright/profiles_settings.xml ! .idea/vcs.xml ! apps/samples/Modena/src/

hg: openjfx/8u-dev/rt: Spinner CSS tweaks for Modena - partial fix for RT-38028

2014-07-30 Thread mo . chicharro
Changeset: ca0e03f527ba Author:mchicharro Date: 2014-07-30 14:59 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ca0e03f527ba Spinner CSS tweaks for Modena - partial fix for RT-38028 ! .idea/copyright/profiles_settings.xml ! .idea/vcs.xml ! apps/samples/Modena/src/main/

Re: How to pause service when it's not visible in TabPane

2014-07-30 Thread Peter Penzov
Hi Tomas, I'm not 100% sure but I tested the proposed code and it seems that it's working. One more question. I have too many Java Classes into which I need to implement this. Is there a quick and easy way to get the Tab Object into the service class where I need to implement this? BR, Peter O

Re: Skin layoutChildren: when to get bounds of child nodes?

2014-07-30 Thread Werner Lehmann
Richard, since I need to get x and width of child1 (the one inside the hbox) I have to use boundsInParent. According to the docs layoutBounds.x/y are always zero for resizable nodes so it does not work here. As to the question whether the parent might be size 0: the HBox is indeed size 0 afte

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Mikael Grev
Wouldn’t you still need to specify the “kind” of drag you are moderating? With just a boolean on/off now, a later API where one needs to say what kinds of drags (reorder, between tabpanes and drag out) would be hard to create. One don’t want an API with a master switch AND one for each kind of d

hg: openjfx/8u-dev/rt: Added inner shadow grad for Editable ComboBox and DatePicker textfields - partial fix for RT-38028

2014-07-30 Thread mo . chicharro
Changeset: 78bac6b0c37e Author:mchicharro Date: 2014-07-30 12:02 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/78bac6b0c37e Added inner shadow grad for Editable ComboBox and DatePicker textfields - partial fix for RT-38028 ! modules/controls/src/main/resources/com/s

hg: openjfx/8u-dev/rt: Spinner CSS for Caspian - removed pixel based padding - partial fix for RT-38028

2014-07-30 Thread mo . chicharro
Changeset: 59b63ebbd0be Author:mchicharro Date: 2014-07-30 11:43 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/59b63ebbd0be Spinner CSS for Caspian - removed pixel based padding - partial fix for RT-38028 ! modules/controls/src/main/resources/com/sun/javafx/scene/con

hg: openjfx/8u-dev/rt: Spinner CSS for Caspian - partial fix for RT-38028

2014-07-30 Thread mo . chicharro
Changeset: 562928b80d15 Author:mchicharro Date: 2014-07-30 11:30 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/562928b80d15 Spinner CSS for Caspian - partial fix for RT-38028 ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/caspian/caspian.css

Re: How to pause service when it's not visible in TabPane

2014-07-30 Thread Tomas Mikula
What about tab.selectedProperty().addListener((obs, old, selected) -> { if(selected) { service.restart(); } else { service.cancel(); } }); ? Best, Tomas On Wed, Jul 30, 2014 at 9:07 AM, Peter Penzov wrote: > Hi All, >I have a TabPane

hg: openjfx/8u-dev/rt: RT-37824 [Charts] Series: NPE when adding data items multiple times

2014-07-30 Thread martin . sladecek
Changeset: d515c3182f1c Author:Martin Sladecek Date: 2014-07-30 10:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d515c3182f1c RT-37824 [Charts] Series: NPE when adding data items multiple times Reviewed by: snorthov, jgiles ! modules/controls/src/main/java/javafx/

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Tom Schindl
Hi, The proposed API only allows to turn on/off dragging all together. For your usecase I'd envision a future API which would allow one to control the aspects you are asking for like. The API i currently have in mind is but I have not yet explored: // Would allow to cancel dragging of certain t

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Eric Le Ponner
Interesting. Then may be ‘drag’ wording would more consistent with remaining APIs. ‘dnd’ is currently used nowhere else. Eric Le 30 juil. 2014 à 10:09, Tom Schindl a écrit : > No - it allows also to drag the tab to another TabPane as well and in > future outside the window to detach it. > > T

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Mikael Grev
That is decidedly awesome! Is there some other way of deciding whether to to do one or the other? I mean one might want to reorder but not drag to another pane. Cheers, Mikael On 30 Jul 2014, at 10:09, Tom Schindl wrote: > No - it allows also to drag the tab to another TabPane as well and in

hg: openjfx/8u-dev/rt: [TOYS] disable LocalDate and LocalTime spinners in HelloSpinner

2014-07-30 Thread jonathan . giles
Changeset: fd925446754b Author:jgiles Date: 2014-07-30 20:17 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/fd925446754b [TOYS] disable LocalDate and LocalTime spinners in HelloSpinner ! apps/toys/Hello/src/main/java/hello/HelloSpinner.java

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Tom Schindl
No - it allows also to drag the tab to another TabPane as well and in future outside the window to detach it. Tom On 30.07.14 10:07, Eric Le Ponner wrote: > Hi Tom, > > I wonder if we should really use the wording « dnd ». > The feature is really to enable the user to re-order the tabs > inside

Re: [API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Eric Le Ponner
Hi Tom, I wonder if we should really use the wording « dnd ». The feature is really to enable the user to re-order the tabs inside a TabPane, right ? So may be: public boolean isTabReorderingEnabled(); public void setTabReorderingEnabled(boolean tabReorderingEnabled); public BooleanProperty tab

[API REVIEW REQUEST] RT-19659 - [TabPane] Support for draggable tabs

2014-07-30 Thread Tom Schindl
Hi, I'd like you to review the API proposed to make TabPane Tabs draggable. The proposed public API only allows to put the TabPane in DnD mode: public boolean isDndEnabled() public void setDndEnabled(boolean dndEnabled) public BooleanProperty dndEnabledProperty() Tom

Re: Making a smaller ComboBox

2014-07-30 Thread Jonathan Giles
More accurately, no one knows off-hand (and without absolute certainty) without looking in the code. If anyone should know, it is me, but I've been too bogged down to reassure myself that my gut feeling is correct. My gut feeling is that the gap is not settable because it is based on the width

Re: Making a smaller ComboBox

2014-07-30 Thread Mikael Grev
So, I guess no one knows how to remove the gap between the text and the button in ComboBox? That probably means it’s a bug since padding can be removed from all sides except for between the text and the button. Cheers, Mikael Grev On 23 Jul 2014, at 16:11, Mikael Grev wrote: > Hello all! >

How to pause service when it's not visible in TabPane

2014-07-30 Thread Peter Penzov
Hi All, I have a TabPane with JavaFX service which displays some data. I'm interested is there a way to pause the service when I switch the tabs and the service is not visible? It 'will same me a lot of CPU resources if there is a way to implement this. BR, Peter