From f80ee313b0ccfb2d1ce7ad5277d193b64e6ef89a Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 20 Jun 2011 12:46:07 +0100 Subject: [PATCH] setup: don't wrap lines in single line textfields --- SparkleShare/Mac/SparkleIntro.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SparkleShare/Mac/SparkleIntro.cs b/SparkleShare/Mac/SparkleIntro.cs index db7ea759..37d25c93 100644 --- a/SparkleShare/Mac/SparkleIntro.cs +++ b/SparkleShare/Mac/SparkleIntro.cs @@ -70,6 +70,8 @@ namespace SparkleShare { UserInfoForm.AddEntry ("Email Address:"); UserInfoForm.CellSize = new SizeF (280, 22); UserInfoForm.IntercellSpacing = new SizeF (4, 4); + UserInfoForm.Cells [0].LineBreakMode = NSLineBreakMode.TruncatingTail; + UserInfoForm.Cells [1].LineBreakMode = NSLineBreakMode.TruncatingTail; UserInfoForm.Cells [0].StringValue = SparkleShare.Controller.UserName; UserInfoForm.Cells [1].StringValue = SparkleShare.Controller.UserEmail; @@ -166,11 +168,14 @@ namespace SparkleShare { Font = SparkleUI.Font }; + AddressTextField.Cell.LineBreakMode = NSLineBreakMode.TruncatingTail; + FolderNameTextField = new NSTextField () { Frame = new RectangleF (320, Frame.Height - (240 + 22 + 4) , 256, 22), StringValue = "" }; + FolderNameTextField.Cell.LineBreakMode = NSLineBreakMode.TruncatingTail; FolderNameHelpLabel = new NSTextField () { BackgroundColor = NSColor.WindowBackground,