diff --git a/IDE/src/ui/HoverWatch.bf b/IDE/src/ui/HoverWatch.bf index 0bf761a7..50247f85 100644 --- a/IDE/src/ui/HoverWatch.bf +++ b/IDE/src/ui/HoverWatch.bf @@ -1227,7 +1227,7 @@ namespace IDE.ui float popupY = listView.mRequestPos.Value.y; int screenX = (int)popupX + (int)mOrigScreenX; - int maxWidth = workspaceWidth - screenX; + int maxWidth = workspaceWidth - screenX - GS!(8); if (mTextPanel != null) { maxWidth = Math.Min(maxWidth, mTextPanel.mWidgetWindow.mWindowWidth);