From 35a8acc080ec4ecc39b9e810614c11aed91bee2c Mon Sep 17 00:00:00 2001 From: Abhi Date: Sat, 22 Apr 2023 18:28:32 -0400 Subject: [PATCH] Reducing window size + image change for ellipsis in the panel rows. --- Clocker/Clocker/en.lproj/Panel.xib | 5 ++--- Clocker/Overall App/Themer.swift | 10 +++++++++- Clocker/Panel/UI/FloatingWindow.xib | 26 +++++++++++++------------- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/Clocker/Clocker/en.lproj/Panel.xib b/Clocker/Clocker/en.lproj/Panel.xib index 6257175..227b006 100755 --- a/Clocker/Clocker/en.lproj/Panel.xib +++ b/Clocker/Clocker/en.lproj/Panel.xib @@ -159,9 +159,9 @@ - + - + @@ -676,7 +676,6 @@ - diff --git a/Clocker/Overall App/Themer.swift b/Clocker/Overall App/Themer.swift index 85ce6d9..2f19e20 100644 --- a/Clocker/Overall App/Themer.swift +++ b/Clocker/Overall App/Themer.swift @@ -177,7 +177,7 @@ extension Themer { // MARK: Images func shutdownImage() -> NSImage { - if let symbolImageForShutdown = symbolImage(for: "ellipsis.circle") { + if let symbolImageForShutdown = symbolImage(for: "ellipsis") { return symbolImageForShutdown } @@ -248,6 +248,10 @@ extension Themer { } func extraOptionsImage() -> NSImage { + if let xmarkImage = symbolImage(for: "ellipsis.circle") { + return xmarkImage + } + return fallbackImageProvider(NSImage(named: NSImage.Name("Extra"))!, NSImage(named: NSImage.Name("ExtraWhite"))!, NSImage(named: NSImage.Name("Extra Dynamic"))!, @@ -271,6 +275,10 @@ extension Themer { } func extraOptionsHighlightedImage() -> NSImage { + if let xmarkImage = symbolImage(for: "ellipsis.circle.fill") { + return xmarkImage + } + return fallbackImageProvider(NSImage(named: NSImage.Name("ExtraHighlighted"))!, NSImage(named: NSImage.Name("ExtraWhiteHighlighted"))!, NSImage(named: NSImage.Name("ExtraHighlighted Dynamic"))!, diff --git a/Clocker/Panel/UI/FloatingWindow.xib b/Clocker/Panel/UI/FloatingWindow.xib index a79a1e6..290bef5 100644 --- a/Clocker/Panel/UI/FloatingWindow.xib +++ b/Clocker/Panel/UI/FloatingWindow.xib @@ -1,8 +1,8 @@ - + - + @@ -35,12 +35,12 @@ - - + + - + - + @@ -59,7 +59,7 @@ - + @@ -381,7 +381,7 @@ - - - + + @@ -521,7 +521,7 @@ - +