tvplanit: Fix LCL scaling of toolbar in print preview dialog.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8471 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-09-11 17:25:36 +00:00
parent 6dc51adcc2
commit 5704686e09

View File

@ -173,7 +173,9 @@ begin
ReturnCode := rtAbandon;
SetCaptions;
PopulateImageList;
{$IF VP_LCL_SCALING = 0}
Toolbar1.ButtonHeight := ScaleY(Toolbar1.ButtonHeight, DesignTimeDPI);
{$IFEND}
Toolbar1.ButtonWidth := Toolbar1.ButtonHeight;
end;