Commit 766fc7cc authored by Matt Chapman's avatar Matt Chapman Committed by Alexandre Julliard

REBAR_Layout should respect the minimum size of bands even when

RBBS_FIXEDSIZE is not set.
parent 2ae461e4
...@@ -1497,10 +1497,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient) ...@@ -1497,10 +1497,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
/* separator from previous band */ /* separator from previous band */
cxsep = (cntonrow == 0) ? 0 : SEP_WIDTH; cxsep = (cntonrow == 0) ? 0 : SEP_WIDTH;
cx = lpBand->lcx;
/* Header: includes gripper, text, image */
cx = lpBand->cxHeader;
if (lpBand->fStyle & RBBS_FIXEDSIZE) cx = lpBand->lcx;
if (infoPtr->dwStyle & CCS_VERT) if (infoPtr->dwStyle & CCS_VERT)
dobreak = (y + cx + cxsep > adjcy); dobreak = (y + cx + cxsep > adjcy);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment