• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Button - rowSpan now working

 
Robert Haynes
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?


Thanks
 
John Damien Smith
Ranch Hand
Posts: 287
13
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic