lcl: don't show enlarge group box of docking dialog if no one child is visible

git-svn-id: trunk@15252 -
This commit is contained in:
paul 2008-05-27 07:35:07 +00:00
parent 6e460c2b91
commit 41c8f0ba80

View File

@ -667,6 +667,11 @@ begin
Dlg.EnlargeBottomSpeedButton.Visible:=
Manager.Manager.EnlargeControl(Control,akBottom,true);
Dlg.EnlargeGroupBox.Visible := Dlg.EnlargeLeftSpeedButton.Visible or
Dlg.EnlargeTopSpeedButton.Visible or
Dlg.EnlargeRightSpeedButton.Visible or
Dlg.EnlargeBottomSpeedButton.Visible;
if Dlg.ShowModal=mrOk then begin
// dock or undock
case Dlg.DlgResult of