mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 21:38:00 +02:00
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:
parent
6e460c2b91
commit
41c8f0ba80
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user