Ignore:
Timestamp:
Mar 10, 2011, 9:57:21 AM (14 years ago)
Author:
george
Message:
  • Fixed: Placing new form inside regions with different orientation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/UCoolDocking.pas

    r183 r184  
    297297      NewDockSite := FDockSite.HostDockSite;
    298298//      FDockSite.ManualFloat(FDockSite.BoundsRect);
    299       NewConjoinDockForm.ManualDock(NewDockSite);
    300299      FDockSite.ManualDock(NewConjoinDockForm.Panel);
    301300      Control.ManualDock(NewConjoinDockForm.Panel, nil, InsertAt);
     301      NewConjoinDockForm.ManualDock(NewDockSite);
    302302    end;
    303303  end else
     
    415415  NewConjoinDockForm.CoolDockClient.Master := Self.Master;
    416416  NewDockSite := FDockSite.HostDockSite;
    417   //      FDockSite.ManualFloat(FDockSite.BoundsRect);
    418   NewConjoinDockForm.ManualDock(NewDockSite, nil, InsertAt);
     417  // FDockSite.ManualFloat(FDockSite.BoundsRect);
     418  //NewConjoinDockForm.ManualDock(NewDockSite, nil, InsertAt);
    419419  Result := NewConjoinDockForm;
    420420end;
     
    529529begin
    530530  inherited SetName(NewName);
    531   Panel.Name := Name + '_Panel';
     531  Panel.Name := Name + 'Panel';
    532532  Panel.Caption := '';
    533   CoolDockClient.Name := Name + '_CoolDockClient';
     533  CoolDockClient.Name := Name + 'CoolDockClient';
    534534end;
    535535
Note: See TracChangeset for help on using the changeset viewer.