mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 14:35:56 +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:=
|
Dlg.EnlargeBottomSpeedButton.Visible:=
|
||||||
Manager.Manager.EnlargeControl(Control,akBottom,true);
|
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
|
if Dlg.ShowModal=mrOk then begin
|
||||||
// dock or undock
|
// dock or undock
|
||||||
case Dlg.DlgResult of
|
case Dlg.DlgResult of
|
||||||
|
Loading…
Reference in New Issue
Block a user