Skip to content

Window widgets are positioned incorrectly in document-based application when showing sheets #200

Open
@wadeco

Description

@wadeco

When using INAppStoreWindow in a document based application on 10.11 the window theme widgets are positioned incorrectly briefly when showing a sheet. I tracked down the cause of the issue and unfortunately the only place to hook into NSWindow to correct the behavior is in -(void)_updateCollectionBehavior. So the fix I have in place looks like this:

-(void)_updateCollectionBehavior
{
[super _updateCollectionBehavior];
[self _layoutTrafficLightsAndContent];
}

Of course, the problem here is that the method is private and therefore may cause problems with App Store applications.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions