Author Topic: White Space in Layouts for Fixed Cell Sizes  (Read 2760 times)

MattBurlew

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
White Space in Layouts for Fixed Cell Sizes
« on: April 20, 2007, 03:45:02 PM »
I use different screens in my layouts, but the general format is the same, with only one or two cells changing.  Because the cells that change have different elements, they render with different sizes, which changes the sizes for the surrounding cells.

So I'm trying to set some of the cells to have fixed height and width.  And if I do this for one or two cells, it's ok.  But if I do it for "too many", I wind up seeing white space, instead of the specified background color (blue or green).

Am I doing something wrong?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: White Space in Layouts for Fixed Cell Sizes
« Reply #1 on: April 20, 2007, 04:15:08 PM »
No, it's a side-effect of how the layout is rendered, and the fact that the software will attempt to fit the layout to your screen size.  If you have whitespace showing, it's because you have room between cells and you are artificially reducing a cell's size using the height and width attributes.  Increase the height/width of one of those cells so that it consumes the space between.

MattBurlew

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: White Space in Layouts for Fixed Cell Sizes
« Reply #2 on: April 20, 2007, 07:37:36 PM »
Thanks.