Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a text wrapping issue in the vertical candidate panel.

  • Loading branch information...
commit 03c28a1a317945fe776d4ec557629238307a2f30 1 parent 435a9b8
@lukhnos lukhnos authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Source/CandidateUI/VTVerticalCandidateController.m
View
3  Source/CandidateUI/VTVerticalCandidateController.m
@@ -63,7 +63,8 @@ - (id)init
if (self) {
_candidateTextParagraphStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
[_candidateTextParagraphStyle setFirstLineHeadIndent:kCandidateTextLeftMargin];
-
+ [_candidateTextParagraphStyle setLineBreakMode:NSLineBreakByClipping];
+
contentRect.origin = NSMakePoint(0.0, 0.0);
NSRect stripRect = contentRect;
Please sign in to comment.
Something went wrong with that request. Please try again.