This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JavaFX and the fly likes Button - rowSpan now working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Button - rowSpan now working" Watch "Button - rowSpan now working" New topic

Button - rowSpan now working

Robert Haynes

Joined: Mar 09, 2012
Posts: 12
In a grid pane, I am attempting display a basic button that spans multiple rows, however all methods of declaring this setting fail to display properly. To eliminate the possibility of some nested code causing an issue, I defined a new node object and added it to the grid pane.

Two seperate methods tried:

Is there something simple that I am overlooking?

John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 142
There's not really enough information provided in the question to properly advise on it, but pehaps you are not unclamping the max size of the button so that it can fill the available space.

To understand what the above code does, see the JavaFX layout tips documentation.
Robert Haynes

Joined: Mar 09, 2012
Posts: 12
Thanks. As many times as I had looked over that page previously, it was never interpreted as "unlocking" and works like a charm. Most likely, I skimmed a bit over the page.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Button - rowSpan now working