ENH: Fixed sizing of the main window. #1

Open
eroesch wants to merge 8 commits from eroesch/msg-desktop:main into main
5 changed files with 24 additions and 1 deletions
Showing only changes of commit bcd9af6e8c - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

View 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
}
}

View file

@ -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..