Make AboutDialog spawn at a reasonable size

This commit is contained in:
Michael Becker 2014-08-09 21:47:33 -04:00
parent aaf24d7164
commit b3e119f8bf
2 changed files with 11 additions and 3 deletions

View File

@ -38,9 +38,13 @@ namespace UniversalEditor.Engines.GTK.Dialogs
{
global::Stetic.Gui.Initialize (this);
// Widget UniversalEditor.Engines.GTK.Dialogs.AboutDialog
this.WidthRequest = 580;
this.HeightRequest = 440;
this.Name = "UniversalEditor.Engines.GTK.Dialogs.AboutDialog";
this.Title = global::Mono.Unix.Catalog.GetString ("About [ApplicationTitle]");
this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
this.Modal = true;
this.Resizable = false;
// Internal child UniversalEditor.Engines.GTK.Dialogs.AboutDialog.VBox
global::Gtk.VBox w1 = this.VBox;
@ -255,8 +259,8 @@ namespace UniversalEditor.Engines.GTK.Dialogs
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 572;
this.DefaultHeight = 444;
this.DefaultWidth = 582;
this.DefaultHeight = 470;
this.Show ();
}
}

View File

@ -264,10 +264,14 @@
</widget>
</child>
</widget>
<widget class="Gtk.Dialog" id="UniversalEditor.Engines.GTK.Dialogs.AboutDialog" design-size="572 444">
<widget class="Gtk.Dialog" id="UniversalEditor.Engines.GTK.Dialogs.AboutDialog" design-size="582 470">
<property name="MemberName" />
<property name="WidthRequest">580</property>
<property name="HeightRequest">440</property>
<property name="Title" translatable="yes">About [ApplicationTitle]</property>
<property name="TypeHint">Dialog</property>
<property name="WindowPosition">CenterOnParent</property>
<property name="Modal">True</property>
<property name="Resizable">False</property>
<property name="Buttons">1</property>
<property name="HelpButton">False</property>