VirtualBox

Changeset 58491 in vbox


Ignore:
Timestamp:
Oct 29, 2015 3:11:37 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Mac OS X: Runtime UI: Adjust dock icon runtime preview update viewport.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/UIAbstractDockIconPreview.cpp

    r58489 r58491  
    112112        Assert(m_dockMonitorGlossy);
    113113        /* This depends on the content of monitor.png */
    114         m_updateRect = CGRectMake(m_monitorRect.origin.x + 7 + 1,
    115                                   m_monitorRect.origin.y + 8 + 1,
    116                                   118 - 7 - 2,
    117                                   103 - 8 - 2);
     114        m_updateRect = CGRectMake(m_monitorRect.origin.x + 8 /* left-frame */ + 1 /* indent-size */,
     115                                  m_monitorRect.origin.y + 8 /* top-frame  */ + 1 /* indent-size */,
     116                                  128 /* .png-width  */ - 8 /* left-frame */ -  8 /* right-frame  */ - 2 * 1 /* indent-size */,
     117                                  128 /* .png-height */ - 8 /* top-frame  */ - 25 /* bottom-frame */ - 2 * 1 /* frame-size  */);
    118118    }
    119119}
Note: See TracChangeset for help on using the changeset viewer.

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