[geary/mjog/port-to-libhandy-1: 90/95] client: Give inspector and problem report dialogs consistent sizes




commit 8c7ee67f2fcb14f4fd59dea8d4b53dbcadcda5ad
Author: Michael Gratton <mike vee net>
Date:   Mon Aug 17 10:02:46 2020 +1000

    client: Give inspector and problem report dialogs consistent sizes

 src/client/dialogs/dialogs-problem-details-dialog.vala | 1 -
 ui/components-inspector.ui                             | 2 +-
 ui/problem-details-dialog.ui                           | 2 ++
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/client/dialogs/dialogs-problem-details-dialog.vala 
b/src/client/dialogs/dialogs-problem-details-dialog.vala
index 34e4cb9c3..43f5d3113 100644
--- a/src/client/dialogs/dialogs-problem-details-dialog.vala
+++ b/src/client/dialogs/dialogs-problem-details-dialog.vala
@@ -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;
diff --git a/ui/components-inspector.ui b/ui/components-inspector.ui
index d52484066..8a11f4dbf 100644
--- a/ui/components-inspector.ui
+++ b/ui/components-inspector.ui
@@ -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">
diff --git a/ui/problem-details-dialog.ui b/ui/problem-details-dialog.ui
index bb3e03066..e20db0573 100644
--- a/ui/problem-details-dialog.ui
+++ b/ui/problem-details-dialog.ui
@@ -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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]