jvcllaz: improved drawing of TJvTabBar by TJvTabBarXPPainter in Linux, still not perfect.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7418 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2020-04-29 09:31:02 +00:00
parent 91fdc9ea7f
commit 9f6e9183d3
2 changed files with 4 additions and 2 deletions

View File

@ -1476,8 +1476,9 @@ begin
CalcTabsRects;
Bmp := TBitmap.Create;
try
Bmp.Width := ClientWidth;
Bmp.Height := ClientHeight;
Bmp.SetSize(ClientWidth, ClientHeight);
Bmp.Canvas.Brush.Color := clWhite;
Bmp.Canvas.FillRect(0, 0, Bmp.Width, Bmp.Height);
CurrentPainter.DrawBackground(Bmp.Canvas, Self, ClientRect);
if (FBtnLeftScroll.State <> sbsHidden) and (FBtnRightScroll.State <> sbsHidden) then
begin