Comments (7)
Doesn't Electron itself provide these and overlay them onto frameless apps?
from photon.
@developit I dont think so, or I didnt find this.
from photon.
I think it works only for OSX, using title-bar-style:hidden
. AFAIK it doesn't work with frameless windows.
from photon.
I was trying to avoid reimplementing this but it might be unavoidable. Does anyone know for sure if this is completely broken in Windows?
I know in OSX, the "traffic lights" work automatically except when frameless windows are used.
from photon.
I don't know on windows. It does not work for sure in Lubuntu.
from photon.
@connors dont know if the term "broken" is the good one, but at least frameless windows are definitively not the same as the OSX onlytitle-bar-style:hidden
.
Maybe that it can be good to implement this for anyone that would like to build a frameless windows with some additional control buttons ?
I mean, this is leighweight and functional, should be though, isn't it ?
from photon.
OS X has three types of frameless windows: frame: false
, 'title-bar-style': 'hidden'
, and 'title-bar-style': 'hidden-inset'
. All show the window without a border, shadow, frames, and title bar. While the first one also hides the traffic lights, the other two show them.
The difference between hidden
and hidden-inset
is that hidden-inset
shows the traffic lights a little bit more inset (lower on the page) than hidden
. This is useful for applications that have a thicker header (ie. Chrome). The other thing is that these two options only work on Yosemite (v10.10) and higher. They also produce some bugs that have yet to be fixed. Links below:
from photon.
Related Issues (20)
- photon.js is identified as virus by Avira AV
- Is this project deprecated? HOT 11
- Cocoa licensing and copyright HOT 3
- Update: PhotonKit Components HOT 6
- It won't run HOT 2
- Ignore
- kq_init error on demo start HOT 2
- Project dead? HOT 5
- How to compile and install under Linux
- NEW RELEASE 1.0 HOT 7
- It's wrong HOT 2
- Can I Use Webviews with photon HOT 2
- How do I turn off the tone of the download completed?
- Is there a way to disable row highlight on table row click?
- Any update HOT 2
- Update docs download links HOT 2
- install fails HOT 3
- no fount module app HOT 2
- Error on template app HOT 3
- Documentation not sufficient HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photon.