ENH: Fixed sizing of the main window. #1
5 changed files with 24 additions and 1 deletions
BIN
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/1024.png
vendored
Normal file
BIN
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/1024.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 207 KiB |
BIN
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/512@1x.png
vendored
Normal file
BIN
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/512@1x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 KiB |
BIN
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/512@2x.png
vendored
Normal file
BIN
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/512@2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 207 KiB |
23
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/Contents.json
vendored
Normal file
23
MSG Desktop/Assets.xcassets/AppStatusBar.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "512@1x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "512@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "1024.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
|
@ -93,7 +93,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||||
if let button = statusBarItem.button {
|
if let button = statusBarItem.button {
|
||||||
//button.title = "MSG"
|
//button.title = "MSG"
|
||||||
button.toolTip = "MSG App"
|
button.toolTip = "MSG App"
|
||||||
if let image = NSImage(named: "AppIcon") {
|
if let image = NSImage(named: "AppStatusBar") {
|
||||||
let newSize = NSSize(width: 18, height: 18)
|
let newSize = NSSize(width: 18, height: 18)
|
||||||
image.size = newSize
|
image.size = newSize
|
||||||
image.isTemplate = true // Important: so it adapts to dark/light mode but we need to get B&W icons..
|
image.isTemplate = true // Important: so it adapts to dark/light mode but we need to get B&W icons..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue