setup: Add help label explaining why email is requested
This commit is contained in:
parent
37f7aa8c18
commit
467586a0a8
|
@ -48,6 +48,7 @@ namespace SparkleShare {
|
||||||
private NSProgressIndicator ProgressIndicator;
|
private NSProgressIndicator ProgressIndicator;
|
||||||
private NSTextField EmailLabel;
|
private NSTextField EmailLabel;
|
||||||
private NSTextField EmailTextField;
|
private NSTextField EmailTextField;
|
||||||
|
private NSTextField EmailHelpLabel;
|
||||||
private NSTextField FullNameTextField;
|
private NSTextField FullNameTextField;
|
||||||
private NSTextField FullNameLabel;
|
private NSTextField FullNameLabel;
|
||||||
private NSTextField AddressTextField;
|
private NSTextField AddressTextField;
|
||||||
|
@ -134,6 +135,19 @@ namespace SparkleShare {
|
||||||
Delegate = new SparkleTextFieldDelegate ()
|
Delegate = new SparkleTextFieldDelegate ()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
EmailHelpLabel = new NSTextField () {
|
||||||
|
BackgroundColor = NSColor.WindowBackground,
|
||||||
|
Bordered = false,
|
||||||
|
TextColor = NSColor.DisabledControlText,
|
||||||
|
Editable = false,
|
||||||
|
Frame = new RectangleF (330, Frame.Height - 290, 204, 17),
|
||||||
|
Font = NSFontManager.SharedFontManager.FontWithFamily ("Lucida Grande",
|
||||||
|
NSFontTraitMask.Condensed, 0, 11),
|
||||||
|
StringValue = "(used to find your Gravatar)"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CancelButton = new NSButton () {
|
CancelButton = new NSButton () {
|
||||||
Title = "Cancel"
|
Title = "Cancel"
|
||||||
};
|
};
|
||||||
|
@ -174,6 +188,7 @@ namespace SparkleShare {
|
||||||
ContentView.AddSubview (FullNameTextField);
|
ContentView.AddSubview (FullNameTextField);
|
||||||
ContentView.AddSubview (EmailLabel);
|
ContentView.AddSubview (EmailLabel);
|
||||||
ContentView.AddSubview (EmailTextField);
|
ContentView.AddSubview (EmailTextField);
|
||||||
|
ContentView.AddSubview (EmailHelpLabel);
|
||||||
|
|
||||||
Buttons.Add (ContinueButton);
|
Buttons.Add (ContinueButton);
|
||||||
Buttons.Add (CancelButton);
|
Buttons.Add (CancelButton);
|
||||||
|
|
Loading…
Reference in a new issue