This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread 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 Building Microservices this week in the Design 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: 213
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Button - rowSpan now working
It's not a secret anymore!