Permalink
Browse files

Fix a text wrapping issue in the vertical candidate panel.

  • Loading branch information...
1 parent 435a9b8 commit 03c28a1a317945fe776d4ec557629238307a2f30 @lukhnos lukhnos committed Mar 29, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 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;

0 comments on commit 03c28a1

Please sign in to comment.