mac ui: Make Note dialogue look good on Yosemite
This commit is contained in:
parent
19a10f3d52
commit
da6bd03491
|
@ -97,8 +97,8 @@ namespace SparkleShare {
|
||||||
Bordered = false,
|
Bordered = false,
|
||||||
Editable = false,
|
Editable = false,
|
||||||
Frame = new RectangleF (
|
Frame = new RectangleF (
|
||||||
new PointF (85, ContentView.Frame.Height - 42),
|
new PointF (85, ContentView.Frame.Height - 41),
|
||||||
new SizeF (320, 20)),
|
new SizeF (320, 22)),
|
||||||
StringValue = Program.Controller.CurrentUser.Name,
|
StringValue = Program.Controller.CurrentUser.Name,
|
||||||
Font = SparkleUI.BoldFont
|
Font = SparkleUI.BoldFont
|
||||||
};
|
};
|
||||||
|
@ -113,7 +113,6 @@ namespace SparkleShare {
|
||||||
new PointF (85, ContentView.Frame.Height - 60),
|
new PointF (85, ContentView.Frame.Height - 60),
|
||||||
new SizeF (320, 20)),
|
new SizeF (320, 20)),
|
||||||
StringValue = Program.Controller.CurrentUser.Email,
|
StringValue = Program.Controller.CurrentUser.Email,
|
||||||
Font = SparkleUI.Font
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -138,14 +137,12 @@ namespace SparkleShare {
|
||||||
Title = "Cancel",
|
Title = "Cancel",
|
||||||
BezelStyle = NSBezelStyle.Rounded,
|
BezelStyle = NSBezelStyle.Rounded,
|
||||||
Frame = new RectangleF (Frame.Width - 15 - 105 * 2, 12, 105, 32),
|
Frame = new RectangleF (Frame.Width - 15 - 105 * 2, 12, 105, 32),
|
||||||
Font = SparkleUI.Font
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.sync_button = new NSButton () {
|
this.sync_button = new NSButton () {
|
||||||
Title = "Sync",
|
Title = "Sync",
|
||||||
BezelStyle = NSBezelStyle.Rounded,
|
BezelStyle = NSBezelStyle.Rounded,
|
||||||
Frame = new RectangleF (Frame.Width - 15 - 105, 12, 105, 32),
|
Frame = new RectangleF (Frame.Width - 15 - 105, 12, 105, 32),
|
||||||
Font = SparkleUI.Font
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.cancel_button.Activated += delegate { Controller.CancelClicked (); };
|
this.cancel_button.Activated += delegate { Controller.CancelClicked (); };
|
||||||
|
|
Loading…
Reference in a new issue