Skip to content

Commit

Permalink
center the new and settings dialogs over the parent window
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed Jul 12, 2023
1 parent a74280b commit d40c2b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/glade/contest.glade
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ THE SOFTWARE.
<property name="default-width">400</property>
<property name="type-hint">dialog</property>
<property name="deletable">False</property>
<property name="gravity">center</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="can-focus">False</property>
Expand Down Expand Up @@ -366,7 +367,9 @@ THE SOFTWARE.
<object class="GtkDialog" id="settingsDialog">
<property name="can-focus">False</property>
<property name="title" translatable="yes">Settings</property>
<property name="window-position">center-on-parent</property>
<property name="type-hint">dialog</property>
<property name="gravity">center</property>
<child internal-child="vbox">
<object class="GtkBox" id="box1">
<property name="can-focus">False</property>
Expand Down

0 comments on commit d40c2b2

Please sign in to comment.