Roger,
We have a screen with 3 browses formatted to specific sizes..has worked in version 1.9 perfectly for years. When viewed in 2.0 the cell sizes are so small you cannot see anything. No change other than version.
Is there a modification to the way it handles the cell sizes in 2.0. (your build 263)
(guess we can change the sizes if version 2.0 but then we have to check all our browses)
LOCAL aBrowPres := ;
{ { XBP_PP_COL_HA_FGCLR, GRA_CLR_WHITE }, /* Header FG Color
*/ ;
{ XBP_PP_COL_HA_BGCLR, GRA_CLR_DARKGRAY }, /* Header BG Color
*/ ;
{ XBP_PP_COL_DA_ROWSEPARATOR, XBPCOL_SEP_DOTTED }, /* Row Sep
*/ ;
{ XBP_PP_COL_DA_COLSEPARATOR, XBPCOL_SEP_DOTTED }, /* Col Sep
*/ ;
{ XBP_PP_COL_DA_FGCLR, GRA_CLR_BLACK }, /* Row FG Color
*/ ;
{ XBP_PP_COL_DA_BGCLR, GRA_CLR_WHITE }, /* Row BG Color
*/ ;
{ XBP_PP_COL_DA_ROWHEIGHT, 10 }, /* Row Height
*/ ;
{ XBP_PP_COL_HA_HEIGHT, 10 }, /* Header Height
*/ ;
{ XBP_PP_HILITE_FGCLR, GRA_CLR_BLACK }, /* Hilite FG color
*/ ;
{ XBP_PP_HILITE_BGCLR, GRA_CLR_YELLOW }, /* Hilite BG color
*/ ;
{ XBP_PP_COL_FA_FGCLR, GRA_CLR_WHITE }, /* Footer FG Color
*/ ;
{ XBP_PP_COL_FA_BGCLR, GRA_CLR_DARKGRAY }, /* Footer BG Color
*/ ;
{ XBP_PP_COL_FA_HEIGHT, 10 } /* Footer Height
*/ ;
}
Fred
Omni
Browse sizes
Re: Browse sizes
Change your ROW HEIGHT and HEADER HEIGHT to -1.
This will automatically adjust the height to the font.
Alternately, change it to a higher value than 10.
This will automatically adjust the height to the font.
Alternately, change it to a higher value than 10.
The eXpress train is coming - and it has more cars.
Re: Browse sizes
I believe Rogers suggestion is probably best. I found that the rows in 1.9 were actually rendered 6 pixels bigger than they should have been. It played havoc with me trying to find the exact sizing.omni wrote:Roger,
We have a screen with 3 browses formatted to specific sizes..has worked in version 1.9 perfectly for years. When viewed in 2.0 the cell sizes are so small you cannot see anything. No change other than version.
Is there a modification to the way it handles the cell sizes in 2.0. (your build 263)
(guess we can change the sizes if version 2.0 but then we have to check all our browses)
LOCAL aBrowPres := ;
{ { XBP_PP_COL_HA_FGCLR, GRA_CLR_WHITE }, /* Header FG Color
*/ ;
{ XBP_PP_COL_HA_BGCLR, GRA_CLR_DARKGRAY }, /* Header BG Color
*/ ;
{ XBP_PP_COL_DA_ROWSEPARATOR, XBPCOL_SEP_DOTTED }, /* Row Sep
*/ ;
{ XBP_PP_COL_DA_COLSEPARATOR, XBPCOL_SEP_DOTTED }, /* Col Sep
*/ ;
{ XBP_PP_COL_DA_FGCLR, GRA_CLR_BLACK }, /* Row FG Color
*/ ;
{ XBP_PP_COL_DA_BGCLR, GRA_CLR_WHITE }, /* Row BG Color
*/ ;
{ XBP_PP_COL_DA_ROWHEIGHT, 10 }, /* Row Height
*/ ;
{ XBP_PP_COL_HA_HEIGHT, 10 }, /* Header Height
*/ ;
{ XBP_PP_HILITE_FGCLR, GRA_CLR_BLACK }, /* Hilite FG color
*/ ;
{ XBP_PP_HILITE_BGCLR, GRA_CLR_YELLOW }, /* Hilite BG color
*/ ;
{ XBP_PP_COL_FA_FGCLR, GRA_CLR_WHITE }, /* Footer FG Color
*/ ;
{ XBP_PP_COL_FA_BGCLR, GRA_CLR_DARKGRAY }, /* Footer BG Color
*/ ;
{ XBP_PP_COL_FA_HEIGHT, 10 } /* Footer Height
*/ ;
}
Fred
Omni
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com
Real Business Applications Ltd
http://www.rbauk.com
Re: Browse sizes
Thanks, the minus 1 was perfect.
Fred
Fred