LCL: Improve OptimalFill. Issue #31538, patch from Serge Anvarov.

git-svn-id: trunk@55079 -
This commit is contained in:
juha 2017-05-25 12:05:22 +00:00
parent 1e3c5c2752
commit 77e5128f81

View File

@ -500,6 +500,8 @@ begin
FOptimalFill := AValue;
if OptimalFill and AutoSize then
AutoSize := False;
if OptimalFill then
AdjustFontForOptimalFill;
Invalidate;
end;