Ver Fonte

fix canvas font

Johann ELSASS há 5 anos atrás
pai
commit
5f74bae8c2
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      bgrathemebutton.pas

+ 1 - 0
bgrathemebutton.pas

@@ -177,6 +177,7 @@ procedure TBGRAThemeButton.Paint;
 var
   surface: TBGRAThemeSurface;
 begin
+  Canvas.Font.Assign(Font);
   surface := TBGRAThemeSurface.Create(self);
   try
     if Assigned(Theme) then