anchor.diff: -unit KM_Controls;
  +﻿unit KM_Controls;
   {$I KaM_Remake.inc}
   interface
   uses
  
positive.code: var
    ChildsRect: TKMRect;
    NewPos: Integer;
  begin
    ChildsRect := GetChildsRect;
    fScrollBarH.Hide;
  
    if (saHorizontal in fScrollAxisSet) then
    begin
  
negative.code: 
        if NewPos > fScrollBarH.MaxValue then
          fLeft := Left + NewPos - fScrollBarH.MaxValue; //Slightly move panel to the top, when resize near maxvalue position
        ShowScroll := True;
      end else begin
        fScrollBarH.Position := 0;
        if Left <> fClipRect.Left then
  