mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 16:56:03 +02:00
IdeIntf: OI: High-DPI: restricted tab. Patch by AlexeyT, Issue #31778
git-svn-id: trunk@54904 -
This commit is contained in:
parent
e6c01afbe1
commit
83b005e1fc
@ -1433,7 +1433,7 @@ function TOICustomPropertyGrid.RealDefaultItemHeight: integer;
|
||||
begin
|
||||
Result := FDefaultItemHeight;
|
||||
if (Result<=0) then
|
||||
Result := MulDiv(22, Screen.PixelsPerInch, 96);
|
||||
Result := ScaleCoord96(22);
|
||||
end;
|
||||
|
||||
function TOICustomPropertyGrid.GetRowByPath(const PropPath: string): TOIPropertyGridRow;
|
||||
@ -5252,8 +5252,8 @@ begin
|
||||
IDEImages.Images_16.Draw(
|
||||
ABox.Canvas, X, Y,
|
||||
IDEImages.LoadImage(16, 'issue_' + LCLPlatformDirNames[lclPlatform]));
|
||||
Inc(X, 16);
|
||||
Inc(X, OutVertCentered(X, IntToStr(ARestrictions[lclPlatform])).CX);
|
||||
Inc(X, ScaleCoord96(16));
|
||||
Inc(X, ScaleCoord96(OutVertCentered(X, IntToStr(ARestrictions[lclPlatform])).CX));
|
||||
end;
|
||||
|
||||
if None then
|
||||
|
Loading…
Reference in New Issue
Block a user