aspose file tools*
The moose likes JavaFX and the fly likes Grid Layout : Gap appears mysteriously in between cells. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Grid Layout : Gap appears mysteriously in between cells." Watch "Grid Layout : Gap appears mysteriously in between cells." New topic
Author

Grid Layout : Gap appears mysteriously in between cells.

Anirban Chowdhury
Ranch Hand

Joined: Aug 05, 2008
Posts: 36
Hi geeks,
I have a problem at hand which I really cant figure out. I am using the below attached code


The only problem which happens is when I run this program, I should get 3 adjacent rectangles, however, I get a gap b.w the 1st and the 2nd one. (Please see the pic attached.) Can someone please help?? This is really urgent for me to complete. Thanks a lot in advance...



[Thumbnail for grid_lay.jpg]


To living life on the edge! I blog my experiences @ http://anirbanchowdhury.wordpress.com.
Anirban Chowdhury
Ranch Hand

Joined: Aug 05, 2008
Posts: 36
Guys, I got the reason. The width of the subsequent cells of rows in a grid is governed by the 1st row's cells width. Thanks anyways.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Grid Layout : Gap appears mysteriously in between cells.