From 2f90ef5912d035692a7a61a28902fea79b0cdaf7 Mon Sep 17 00:00:00 2001 From: Stuar Breckenridge Date: Fri, 27 Jun 2025 07:30:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Minor=20tweaks=20to=20make=20cre?= =?UTF-8?q?dit=20left=20aligned?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mac/About/AboutWindowController.swift | 6 +++--- Mac/About/AboutWindowController.xib | 10 +++++----- Mac/Resources/Credits.rtf | 3 ++- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Mac/About/AboutWindowController.swift b/Mac/About/AboutWindowController.swift index 57a1c1f5c..942ba327e 100644 --- a/Mac/About/AboutWindowController.swift +++ b/Mac/About/AboutWindowController.swift @@ -64,9 +64,9 @@ class AboutWindowController: NSWindowController { } let fullRange = NSRange(location: 0, length: creditsTextView.string.utf16.count) - let centeredParagraphStyle = NSMutableParagraphStyle() - centeredParagraphStyle.alignment = .center - creditsTextView.textStorage?.addAttribute(.paragraphStyle, value: centeredParagraphStyle, range: fullRange) + let leadingParagraphStyle = NSMutableParagraphStyle() + leadingParagraphStyle.alignment = .left + creditsTextView.textStorage?.addAttribute(.paragraphStyle, value: leadingParagraphStyle, range: fullRange) // URL let url = URL(string: "https://inessential.com")! diff --git a/Mac/About/AboutWindowController.xib b/Mac/About/AboutWindowController.xib index 05d95bee0..52857ec84 100644 --- a/Mac/About/AboutWindowController.xib +++ b/Mac/About/AboutWindowController.xib @@ -53,18 +53,18 @@ - + - + - + - + @@ -75,7 +75,7 @@ - + diff --git a/Mac/Resources/Credits.rtf b/Mac/Resources/Credits.rtf index 1a1b287cb..1291f7c3a 100644 --- a/Mac/Resources/Credits.rtf +++ b/Mac/Resources/Credits.rtf @@ -41,8 +41,9 @@ And featuring contributions from\ \f0\b \cf2 Acknowledgments\ \f1\b0 \ -\pard\pardeftab720\sa60\partightenfactor0 +\pard\pardeftab720\sl168\slmult1\sa60\partightenfactor0 {\field{\*\fldinst{HYPERLINK "https://github.com/ccgus/fmdb"}}{\fldrslt \cf2 FMDB}} (greatest SQLite wrapper ever in history) is by {\field{\*\fldinst{HYPERLINK "http://flyingmeat.com/"}}{\fldrslt Flying Meat Software}}.\ +\ {\field{\*\fldinst{HYPERLINK "https://sparkle-project.org/"}}{\fldrslt Sparkle}} is by Sparkle Project.\ \pard\pardeftab720\li360\sa60\partightenfactor0 \cf2 \