From f32d1b82e48aefc93720fd4ef1fef0a309d41d83 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 10 Feb 2022 13:40:32 +0800 Subject: [PATCH] Voltaire // Giving a minimum width to cells. - This is to make sure the width of the window won't be altered by the width differences of single candidate glyphs. - We choose a different approach to achieve this function here due to the UI design of the Voltaire Candidate Windows used in vChewing. --- Source/UI/CandidateUI/HorizontalCandidateController.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/UI/CandidateUI/HorizontalCandidateController.swift b/Source/UI/CandidateUI/HorizontalCandidateController.swift index d18ef769..24489a70 100644 --- a/Source/UI/CandidateUI/HorizontalCandidateController.swift +++ b/Source/UI/CandidateUI/HorizontalCandidateController.swift @@ -63,7 +63,11 @@ fileprivate class HorizontalCandidateView: NSView { let baseSize = NSSize(width: 10240.0, height: 10240.0) for index in 0..