VirtualBox

Changeset 62227 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 13, 2016 4:50:16 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108738
Message:

FE/Qt: bugref:7625: Runtime UI: Normal mode: Normalization mechanism: On Windows host windows are often exceed the boundaries for 4-7 pixels when you are trying to maximize them or move to sticky borders.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp

    r62226 r62227  
    553553        /* Get enumerated screen's available area: */
    554554        QRect rect = vboxGlobal().availableGeometry(iScreenIndex);
     555#ifdef VBOX_WS_WIN
     556        /* On Windows host window can exceed the available
     557         * area in maximized/sticky-borders state: */
     558        rect.adjust(-10, -10, 10, 10);
     559#endif /* VBOX_WS_WIN */
    555560        /* Append rectangle: */
    556561        region += rect;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette