You've already forked lazarus-ccr
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:
@ -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
|
||||
|
@ -128,6 +128,7 @@ begin
|
||||
end
|
||||
else
|
||||
Dec(TextRect.Right, 3);
|
||||
Canvas.Brush.Style := bsClear;
|
||||
ThemeServices.DrawText(Canvas.Handle, TabDetails, Tab.Caption, TextRect, DT_SINGLELINE or DT_VCENTER or DT_END_ELLIPSIS, 0);
|
||||
|
||||
if Tab.TabBar.CloseButton then
|
||||
|
Reference in New Issue
Block a user