mirror of
https://github.com/reactos/wine.git
synced 2025-02-20 12:50:53 +00:00
Fixed centering of tab text.
This commit is contained in:
parent
6abcab7283
commit
1aa7afeed9
@ -1727,12 +1727,12 @@ TAB_DrawItemInterior
|
||||
else
|
||||
drawRect->bottom-=center_offset_h;
|
||||
|
||||
center_offset_v = ((drawRect->right - drawRect->left) - ((rcText.bottom - rcText.top) + infoPtr->uVItemPadding)) / 2;
|
||||
center_offset_v = ((drawRect->right - drawRect->left) - (rcText.bottom - rcText.top) + infoPtr->uVItemPadding) / 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
drawRect->left += center_offset_h;
|
||||
center_offset_v = ((drawRect->bottom - drawRect->top) - ((rcText.bottom - rcText.top) + infoPtr->uVItemPadding)) / 2;
|
||||
center_offset_v = ((drawRect->bottom - drawRect->top) - (rcText.bottom - rcText.top) + infoPtr->uVItemPadding) / 2;
|
||||
}
|
||||
|
||||
if (center_offset_v < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user