VirtualBox

Ignore:
Timestamp:
Jul 14, 2020 10:07:53 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: UIDockTileMonitor::initWithFrame - incorrect image alignment 'NSImageAlignTop| NSImageAlignLeft', should be NSImageAlignTopLeft. The previous value equals NSImageAlignBottom. (Kudos to Clang 11 for finding this.) bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/UICocoaDockIconPreview.mm

    r82968 r85329  
    145145        mScreenContent = [[NSImageView alloc] initWithFrame:NSRectFromCGRect(p->flipRect(p->m_updateRect))];
    146146//        [mScreenContent setImageAlignment: NSImageAlignCenter];
    147         [mScreenContent setImageAlignment: NSImageAlignTop| NSImageAlignLeft];
     147        [mScreenContent setImageAlignment: NSImageAlignTopLeft];
    148148        [mScreenContent setImageScaling: NSScaleToFit];
    149149        [self addSubview: mScreenContent];
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