packagetabs: highDPI support

git-svn-id: trunk@53620 -
This commit is contained in:
ondrej 2016-12-09 10:39:42 +00:00
parent 6e32346069
commit 547523b49a

View File

@ -907,7 +907,7 @@ begin
xLbl.Caption := xPkgItem.Title;
xLbl.Parent := FPanel;
xLbl.PopupMenu := FTabLabelMenu;
xLbl.Height := TPackageTabButton.GetControlClassDefaultSize.cy;
xLbl.Height := FPanel.ScaleCoord(TPackageTabButton.GetControlClassDefaultSize.cy);
xLbl.OnCloseAllFiles := @CloseAllFiles;
if FPanel is TPackageTabScrollBox then
begin