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 m...@plan99.net wrote: One common layout task that seems harder than necessary in JavaFX

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 mo.chicha...@oracle.com wrote: Is this what you need? public final void setManaged(boolean value) Property description: Defines whether or not this node's

Re: TitledPane background color

2015-01-02 Thread Moises Chicharro
titled-pane .content { -fx-background-color: green; } Cheers, Mo On 25 Dec 2014, at 23:13, Peter Penzov peter.pen...@gmail.com wrote: Hi All, I have a question how to change TitledPane background color. I tested this code: public class MainApp extends Application { @Override

Re: OT: Netbeans ported to JFX?

2014-07-10 Thread Moises Chicharro
Scene Builder is a *real world* (and very useful) JavaFX app produced by Oracle. It's also open source. Cheers, Mo On 10 Jul 2014, at 07:53, David Hill david.h...@oracle.com wrote: On 7/10/14, 10:40 AM, Jeff Martin wrote: That's not what Bill Gates or Steve Jobs said. To be fair - both of

Re: Dynamic position/size change and built-in layouts

2014-04-03 Thread Moises Chicharro
If your VBox is elastic - i.e, it's Pref Width/Height is set to USE_COMPUTED_SIZE then it will act exactly as you describe (unless limited by it's parent). You can prototype and test layout like this in Scene Builder very quickly. Regards, Mo On 3 Apr 2014, at 15:01, Pedro Duque Vieira

Re: FX Experience Tools

2014-01-13 Thread Moises Chicharro
As Jonathan mentioned, Scene Builder 1.1 or the 2.0 Early Access has some CSS support. http://www.oracle.com/technetwork/java/javafx/tools/index.html Take a look at the CSS Analyzer panel. There is a demo of the feature at around 31:30 of this J1 talk: