private void CreateAbout() { Gdk.Color fgcolor = new Gdk.Color(); Gdk.Color.Parse("red", ref fgcolor); Label version = new Label() { Markup = string.Format( "<span font_size='small' fgcolor='#729fcf'>{0}</span>", String.Format(Properties_Resources.Version, Controller.RunningVersion, Controller.CreateTime.GetValueOrDefault().ToString("d"))), Xalign = 0 }; this.updates = new Label() { Markup = "<span font_size='small' fgcolor='#729fcf'><b>Please check for updates at CmisSync.com</b></span>", Xalign = 0 }; Label credits = new Label() { LineWrap = true, LineWrapMode = Pango.WrapMode.Word, Markup = "<span font_size='small' fgcolor='#729fcf'>" + "Copyright © 2013–" + DateTime.Now.Year.ToString() + " GRAU DATA AG, Aegif and others.\n" + "\n" + Properties_Resources.ApplicationName + " is Open Source software. You are free to use, modify, " + "and redistribute it under the GNU General Public License version 3 or later." + "</span>", WidthRequest = 330, Wrap = true, Xalign = 0 }; LinkButton website_link = new LinkButton(Controller.WebsiteLinkAddress, Properties_Resources.Website); website_link.ModifyFg(StateType.Active, fgcolor); LinkButton credits_link = new LinkButton(Controller.CreditsLinkAddress, Properties_Resources.Credits); LinkButton report_problem_link = new LinkButton(Controller.ReportProblemLinkAddress, Properties_Resources.ReportProblem); HBox layout_links = new HBox(false, 0); layout_links.PackStart(website_link, false, false, 0); layout_links.PackStart(credits_link, false, false, 0); layout_links.PackStart(report_problem_link, false, false, 0); VBox layout_vertical = new VBox(false, 0); layout_vertical.PackStart(new Label(""), false, false, 42); layout_vertical.PackStart(version, false, false, 0); //layout_vertical.PackStart (this.updates, false, false, 0); layout_vertical.PackStart(credits, false, false, 9); layout_vertical.PackStart(new Label(""), false, false, 0); layout_vertical.PackStart(layout_links, false, false, 0); HBox layout_horizontal = new HBox(false, 0) { BorderWidth = 0, HeightRequest = 260, WidthRequest = 640 }; layout_horizontal.PackStart(new Label(""), false, false, 150); layout_horizontal.PackStart(layout_vertical, false, false, 0); Add(layout_horizontal); }