aonez / aonez/Keka

Maybe adding some "vibrant light" translucency?

未关闭
#156 1 条评论 1 个 reaction 已指派 1 人 已被 @aonez 认领 在 GitHub 查看
enhancement gui
主要语言
PHP
星标
7.3k
派生
294
平均合并
14 天 16 小时
30 天内合并 PR
1

描述

Did you try adding the "Visual Effects View" as the background and adding some slight translucency?

It's really simple to add it, but it makes the app look more "fancy"...

Just drag & drop the "Visual Effects View" to the background and set up the effects in the Attributes Inspector.

If you also want to try out some "fancy" titlebar, you could for example try out the effect like in the Reminders app's sidebar by checking "full size content view" in the Attributes Inspector for your window and adding something like this to it's class:

```
class WindowController: NSWindowController {

override func windowDidLoad() {
super.windowDidLoad()

window?.titleVisibility = .hidden
window?.titlebarAppearsTransparent = true
}
}
```

And you get something like this:
![screen shot 2018-03-21 at 8 53 01 am](https://user-images.githubusercontent.com/37249460/37699062-fd2a3be6-2ce5-11e8-808f-23052ac2a11e.jpg)
![screen shot 2018-03-21 at 8 56 47 am](https://user-images.githubusercontent.com/37249460/37699063-fd4e0ada-2ce5-11e8-8815-ea396b2d7895.jpg)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。