You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When setting the notification to appear at the bottom of the screen (left or right), it appears above the taskbar (Windows taskbar). Adjusting it to appear in the corner according to Screen.WorkAreaRect would be better than using the entire screen area.
Suggestion:
Modify the notification position logic to use Screen.WorkAreaRect for determining the display area to avoid overlapping with the taskbar.
// Get the bounds of the primary screen's work area (excluding the taskbar)Rectangle2DscreenBounds = Screen.getPrimary().getVisualBounds();
// Position the notification at the bottom-right corner of the work areanotificationStage.setX(screenBounds.getMaxX() - scene.getWidth() - 10); // 10px margin from the right edgenotificationStage.setY(screenBounds.getMaxY() - scene.getHeight() - 10); // 10px margin from the bottom edge// Show the notificationnotificationStage.show();
The text was updated successfully, but these errors were encountered:
Description:
When setting the notification to appear at the bottom of the screen (left or right), it appears above the taskbar (Windows taskbar). Adjusting it to appear in the corner according to
Screen.WorkAreaRect
would be better than using the entire screen area.Suggestion:
Modify the notification position logic to use
Screen.WorkAreaRect
for determining the display area to avoid overlapping with the taskbar.The text was updated successfully, but these errors were encountered: