Fix button text placement for disabled buttons (see Winzip 8.0).
This commit is contained in:
parent
96c0ed6634
commit
aa62953b31
|
@ -226,6 +226,9 @@ TOOLBAR_DrawString (TOOLBAR_INFO *infoPtr, TBUTTON_INFO *btnPtr,
|
|||
rcText.top += infoPtr->nBitmapHeight;
|
||||
}
|
||||
}
|
||||
else {
|
||||
rcText.top += infoPtr->nBitmapHeight;
|
||||
}
|
||||
|
||||
if (nState & (TBSTATE_PRESSED | TBSTATE_CHECKED))
|
||||
OffsetRect (&rcText, 1, 1);
|
||||
|
|
Loading…
Reference in New Issue