REBAR_Layout should respect the minimum size of bands even when
RBBS_FIXEDSIZE is not set.
This commit is contained in:
parent
2ae461e400
commit
766fc7cc9c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue