diff options
author | iain holmes <iain@xamarin.com> | 2019-06-19 18:57:10 +0300 |
---|---|---|
committer | iain holmes <iain@xamarin.com> | 2019-06-19 18:57:10 +0300 |
commit | 28cbefefc43e120764466838e904fa92cb3a1edf (patch) | |
tree | b26c5bc2d49155a7d5b5188194d42d61d32f2546 /main/src/addins | |
parent | 35d04e6b3ae45138d836ed6bc4254aad30e2da17 (diff) |
[Mac] Align the search popup correctly when the app is in fullscreen mode
Fixes VSTS #901009
Diffstat (limited to 'main/src/addins')
-rw-r--r-- | main/src/addins/MacPlatform/MainToolbar/MainToolbar.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MacPlatform/MainToolbar/MainToolbar.cs b/main/src/addins/MacPlatform/MainToolbar/MainToolbar.cs index 13c925eaae..dbae2c656b 100644 --- a/main/src/addins/MacPlatform/MainToolbar/MainToolbar.cs +++ b/main/src/addins/MacPlatform/MainToolbar/MainToolbar.cs @@ -373,7 +373,7 @@ namespace MonoDevelop.MacIntegration.MainToolbar CGPoint gdkOrigin = ScreenMonitor.GdkPointForNSScreen (searchEntry.Window.Screen); - entryWidget.Allocation = new Gdk.Rectangle (0, (int)(gdkOrigin.Y + fullscreenToolbarNsWindow.Frame.Height - 20), + entryWidget.Allocation = new Gdk.Rectangle ((int)fullscreenToolbarNsWindow.Frame.X, (int)(gdkOrigin.Y + fullscreenToolbarNsWindow.Frame.Height - 20), (int)(gdkOrigin.X + fullscreenToolbarNsWindow.Frame.Width - 16), 0); } return entryWidget; |