Skip to content

Commit

Permalink
📏Fixe left side icons size on smaller than 769 height screen size.
Browse files Browse the repository at this point in the history
  • Loading branch information
vhanla committed Sep 7, 2023
1 parent b4034dd commit af36f35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion menu.pas
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,10 @@ procedure TfrmMenu.ShowMenuAnimation(aLocation: Integer; aShow: Boolean = True);
for I := 0 to Icons.Count - 1 do
begin
if Settings.BarPosition = ABE_LEFT then
Icons[I].Left := 54 - Self.Width + 4
if Screen.Height <= 768 then
Icons[I].Left := 42 - Self.Width + 2
else
Icons[I].Left := 54 - Self.Width + 4
else
Icons[I].Left := 4;
end;
Expand Down

0 comments on commit af36f35

Please sign in to comment.