mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Display tool button menu under the button not under the toolbar in case the toolbar has multiple lines.
This commit is contained in:
parent
9ebbfccf78
commit
19e6bf2a9f
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ begin
|
|||
FToolPopupMenu := TPopupMenu.Create(Self);
|
||||
MakeMenu(FToolPopupMenu.Items, ToolButton.ToolItem as TKASMenuItem);
|
||||
Point.x := ToolButton.Left;
|
||||
Point.y := ToolButton.Top + Self.Height;
|
||||
Point.y := ToolButton.Top + ToolButton.Height;
|
||||
Point := Self.ClientToScreen(Point);
|
||||
FToolPopupMenu.PopUp(Point.x, Point.y);
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue