REBAR_Layout should respect the minimum size of bands even when

RBBS_FIXEDSIZE is not set.
This commit is contained in:
Matt Chapman 2004-02-27 04:32:54 +00:00 committed by Alexandre Julliard
parent 2ae461e400
commit 766fc7cc9c
1 changed files with 1 additions and 4 deletions

View File

@ -1497,10 +1497,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
/* separator from previous band */
cxsep = (cntonrow == 0) ? 0 : SEP_WIDTH;
/* Header: includes gripper, text, image */
cx = lpBand->cxHeader;
if (lpBand->fStyle & RBBS_FIXEDSIZE) cx = lpBand->lcx;
cx = lpBand->lcx;
if (infoPtr->dwStyle & CCS_VERT)
dobreak = (y + cx + cxsep > adjcy);