Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Pop-Overs #43

Open
trevorlinton opened this issue Oct 31, 2013 · 4 comments
Open

Support for Pop-Overs #43

trevorlinton opened this issue Oct 31, 2013 · 4 comments

Comments

@trevorlinton
Copy link
Member

May only be available in MacOSX, further investigation on Windows:
https://developer.apple.com/library/mac/documentation/userexperience/conceptual/applehiguidelines/Windows/Windows.html

@sindresorhus
Copy link

👍

@sindresorhus
Copy link

My usecase:
I want to create a menubar app where you can click the icon to open an attached popover which contains a webview. Would be useful to also support dragging of the popover which turns it into a pseudo window. Try ctrl+cmd+space and try to dragging the popover to see what i mean.

@trevorlinton
Copy link
Member Author

@sindresorhus This can acheived using the Tray class in addition to creating a smaller transparent window that goes from hidden to shown when the user clicks on the Tray icon. See TIWindow.create (transparent frame). If the user drags a portion of the window you could then just switch the frame to normal.

Let me know if this might help.

@sindresorhus
Copy link

Yeah, but I would like the style of the native popover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants