diff --git a/SparkleShare/Mac/SparkleEventLog.cs b/SparkleShare/Mac/SparkleEventLog.cs index da35b32b..6ea3c739 100755 --- a/SparkleShare/Mac/SparkleEventLog.cs +++ b/SparkleShare/Mac/SparkleEventLog.cs @@ -115,7 +115,7 @@ namespace SparkleShare { new PointF (60, ContentView.Frame.Height - 27), new SizeF (60, 20)), StringValue = "…", - Font = SparkleUI.BoldFont + Font = NSFont.FromFontName (SparkleUI.FontName + " Bold", NSFont.SystemFontSize) }; @@ -140,7 +140,7 @@ namespace SparkleShare { new SizeF (60, 20) ), StringValue = "…", - Font = SparkleUI.BoldFont + Font = NSFont.FromFontName (SparkleUI.FontName + " Bold", NSFont.SystemFontSize) }; this.popup_button = new NSPopUpButton () { diff --git a/SparkleShare/Mac/SparkleNote.cs b/SparkleShare/Mac/SparkleNote.cs index 2c3ec1f7..9b9cbf2d 100755 --- a/SparkleShare/Mac/SparkleNote.cs +++ b/SparkleShare/Mac/SparkleNote.cs @@ -100,7 +100,7 @@ namespace SparkleShare { new PointF (85, ContentView.Frame.Height - 41), new SizeF (320, 22)), StringValue = Program.Controller.CurrentUser.Name, - Font = SparkleUI.BoldFont + Font = NSFont.FromFontName (SparkleUI.FontName + " Bold", NSFont.SystemFontSize) }; this.user_email_text_field = new NSTextField () { diff --git a/SparkleShare/Mac/SparkleSetup.cs b/SparkleShare/Mac/SparkleSetup.cs index a3b4048c..2145bff7 100755 --- a/SparkleShare/Mac/SparkleSetup.cs +++ b/SparkleShare/Mac/SparkleSetup.cs @@ -145,19 +145,20 @@ namespace SparkleShare { Description = "Do you want to add this project to SparkleShare?"; AddressLabel = new SparkleLabel ("Address:", NSTextAlignment.Right); - AddressLabel.Frame = new RectangleF (165, Frame.Height - 240, 160, 17); + AddressLabel.Frame = new RectangleF (165, Frame.Height - 238, 160, 17); + AddressLabel.Font = NSFont.FromFontName (SparkleUI.FontName + " Bold", NSFont.SystemFontSize); AddressTextField = new SparkleLabel (Controller.PendingInvite.Address, NSTextAlignment.Left) { - Frame = new RectangleF (330, Frame.Height - 240, 260, 17), - Font = SparkleUI.BoldFont + Frame = new RectangleF (330, Frame.Height - 240, 260, 17) }; PathLabel = new SparkleLabel ("Remote Path:", NSTextAlignment.Right); - PathLabel.Frame = new RectangleF (165, Frame.Height - 264, 160, 17); + PathLabel.Frame = new RectangleF (165, Frame.Height - 262, 160, 17); + PathLabel.Font = NSFont.FromFontName (SparkleUI.FontName + " Bold", NSFont.SystemFontSize); + PathTextField = new SparkleLabel (Controller.PendingInvite.RemotePath, NSTextAlignment.Left) { - Frame = new RectangleF (330, Frame.Height - 264, 260, 17), - Font = SparkleUI.BoldFont + Frame = new RectangleF (330, Frame.Height - 264, 260, 17) }; CancelButton = new NSButton () { Title = "Cancel" }; @@ -183,12 +184,11 @@ namespace SparkleShare { AddressLabel = new SparkleLabel ("Address:", NSTextAlignment.Left) { Frame = new RectangleF (190, Frame.Height - 308, 160, 17), - Font = SparkleUI.BoldFont + Font = NSFont.FromFontName (SparkleUI.FontName + " Bold", NSFont.SystemFontSize) }; AddressTextField = new NSTextField () { Frame = new RectangleF (190, Frame.Height - 336, 196, 22), - Font = SparkleUI.Font, Enabled = (Controller.SelectedPlugin.Address == null), Delegate = new SparkleTextFieldDelegate (), StringValue = "" + Controller.PreviousAddress @@ -198,7 +198,7 @@ namespace SparkleShare { PathLabel = new SparkleLabel ("Remote Path:", NSTextAlignment.Left) { Frame = new RectangleF (190 + 196 + 16, Frame.Height - 308, 160, 17), - Font = SparkleUI.BoldFont + Font = NSFont.FromFontName (SparkleUI.FontName + " Bold", NSFont.SystemFontSize) }; PathTextField = new NSTextField () { @@ -212,22 +212,18 @@ namespace SparkleShare { PathHelpLabel = new SparkleLabel (Controller.SelectedPlugin.PathExample, NSTextAlignment.Left) { TextColor = NSColor.DisabledControlText, - Frame = new RectangleF (190 + 196 + 16, Frame.Height - 355, 204, 17), - Font = NSFontManager.SharedFontManager.FontWithFamily ("Lucida Grande", - NSFontTraitMask.Condensed, 0, 11), + Frame = new RectangleF (190 + 196 + 16, Frame.Height - 358, 204, 19) }; AddressHelpLabel = new SparkleLabel (Controller.SelectedPlugin.AddressExample, NSTextAlignment.Left) { TextColor = NSColor.DisabledControlText, - Frame = new RectangleF (190, Frame.Height - 355, 204, 17), - Font = NSFontManager.SharedFontManager.FontWithFamily ("Lucida Grande", - NSFontTraitMask.Condensed, 0, 11), + Frame = new RectangleF (190, Frame.Height - 358, 204, 19) }; if (TableView == null || TableView.RowCount != Controller.Plugins.Count) { TableView = new NSTableView () { Frame = new RectangleF (0, 0, 0, 0), - RowHeight = 34, + RowHeight = 38, IntercellSpacing = new SizeF (8, 12), HeaderView = null, Delegate = new SparkleTableViewDelegate () @@ -252,8 +248,8 @@ namespace SparkleShare { Editable = false }; - DescriptionColumn.DataCell.Font = NSFontManager.SharedFontManager.FontWithFamily ("Lucida Grande", - NSFontTraitMask.Condensed, 0, 11); + DescriptionColumn.DataCell.Font = NSFontManager.SharedFontManager.FontWithFamily ( + SparkleUI.FontName, NSFontTraitMask.Condensed, 0, 11); TableView.AddColumn (IconColumn); TableView.AddColumn (DescriptionColumn); @@ -407,7 +403,7 @@ namespace SparkleShare { string html = "