client: Give inspector and problem report dialogs consistent sizes

This commit is contained in:
Michael Gratton 2020-08-17 10:02:46 +10:00 committed by Michael James Gratton
parent a043eec310
commit 798c76bc83
3 changed files with 3 additions and 2 deletions

View file

@ -58,7 +58,6 @@ public class Dialogs.ProblemDetailsDialog : Gtk.Dialog {
transient_for: parent,
use_header_bar: 1
);
set_default_size(600, 400);
Geary.AccountProblemReport? account_report =
report as Geary.AccountProblemReport;

View file

@ -4,7 +4,7 @@
<requires lib="gtk+" version="3.20"/>
<template class="ComponentsInspector" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
<property name="default_width">750</property>
<property name="default_width">800</property>
<property name="default_height">500</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="header_bar">

View file

@ -5,6 +5,8 @@
<requires lib="libhandy" version="0.0"/>
<template class="DialogsProblemDetailsDialog" parent="GtkDialog">
<property name="can_focus">False</property>
<property name="default_width">800</property>
<property name="default_height">500</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
<property name="window_position">center</property>