Changeset 213 for Docking/CoolDocking/Managers
- Timestamp:
- Mar 21, 2011, 10:23:24 AM (14 years ago)
- Location:
- Docking/CoolDocking/Managers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Managers/UCDManagerRegions.pas
r209 r213 290 290 SplitterTop := 0; 291 291 VisibleControlsCount := DockSite.VisibleDockClientCount; 292 DockSite.Visible := VisibleControlsCount > 0; 292 if DockSite is TForm then 293 DockSite.Visible := VisibleControlsCount > 0; 293 294 if VisibleControlsCount = 0 then VisibleControlsCount := 1; 294 295 -
Docking/CoolDocking/Managers/UCDManagerTabs.pas
r209 r213 288 288 Free; 289 289 end; 290 end ;290 end else UpdateClientSize; 291 291 inherited RemoveControl(Control); 292 //if ClientCount > 0 then293 UpdateClientSize;294 292 end; 295 293 … … 362 360 with TCDManagerTabsItem(DockItems[I]) do begin 363 361 PageControl.Pages[I].Caption := Control.Caption; 364 PageControl.Pages[I].ImageIndex := TabImageList.Count;362 PageControl.Pages[I].ImageIndex := I; 365 363 TabImageList.Replace(I, IconImage.Picture.Bitmap, nil); 366 364 Control.Parent := PageControl.Pages[I];
Note:
See TracChangeset
for help on using the changeset viewer.