setup: padding tweaks

This commit is contained in:
Hylke Bons 2012-02-26 16:05:00 +00:00
parent 23fc46bc09
commit e78f66c923
3 changed files with 10 additions and 9 deletions

View file

@ -86,7 +86,7 @@ namespace SparkleShare {
Header = "Welcome to SparkleShare!"; Header = "Welcome to SparkleShare!";
Description = "Before we get started, what's your name and email? " + Description = "Before we get started, what's your name and email? " +
"Don't worry, this information is only visible to your team members."; "Don't worry, this information will only visible to your team members.";
FullNameLabel = new NSTextField () { FullNameLabel = new NSTextField () {

View file

@ -65,7 +65,7 @@ namespace SparkleShare {
Header = _("Welcome to SparkleShare!"); Header = _("Welcome to SparkleShare!");
Description = "Before we get started, what's your name and email? " + Description = "Before we get started, what's your name and email? " +
"Don't worry, this information is only visible to your team members."; "Don't worry, this information will only visible to your team members.";
Table table = new Table (2, 3, true) { Table table = new Table (2, 3, true) {

View file

@ -139,17 +139,18 @@ namespace SparkleShare {
Xalign = 0, Xalign = 0,
}; };
Label description = new Label (Description) {
Xalign = 0,
Wrap = true
};
VBox layout_vertical = new VBox (false, 0); VBox layout_vertical = new VBox (false, 0);
layout_vertical.PackStart (new Label (""), false, false, 6); layout_vertical.PackStart (new Label (""), false, false, 0);
layout_vertical.PackStart (header, false, false, 0); layout_vertical.PackStart (header, false, false, 0);
if (!string.IsNullOrEmpty (Description)) if (!string.IsNullOrEmpty (Description)) {
Label description = new Label (Description) {
Xalign = 0,
Wrap = true
};
layout_vertical.PackStart (description, false, false, 21); layout_vertical.PackStart (description, false, false, 21);
}
if (widget != null) if (widget != null)
layout_vertical.PackStart (widget, true, true, 0); layout_vertical.PackStart (widget, true, true, 0);