Bottom of button should be rbox.top + checkBoxHeight.
This commit is contained in:
parent
65e4823410
commit
fe711b224e
|
@ -872,7 +872,7 @@ static void CB_Paint( HWND hwnd, HDC hDC, UINT action )
|
||||||
rbox.bottom = rbox.top + checkBoxHeight;
|
rbox.bottom = rbox.top + checkBoxHeight;
|
||||||
} else {
|
} else {
|
||||||
rbox.top -= -delta/2 + 1;
|
rbox.top -= -delta/2 + 1;
|
||||||
rbox.bottom += rbox.top + checkBoxHeight;
|
rbox.bottom = rbox.top + checkBoxHeight;
|
||||||
}
|
}
|
||||||
} else if (style & BS_BOTTOM) {
|
} else if (style & BS_BOTTOM) {
|
||||||
if (delta > 0) {
|
if (delta > 0) {
|
||||||
|
|
Loading…
Reference in New Issue