From cd44e173e335cdefa6950c4d42f61fe2a2d20534 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 16 May 2014 22:11:36 +0100 Subject: [PATCH] Fix resizing of widgets in dialogs --- gramps/gui/configure.py | 2 +- gramps/gui/glade/book.glade | 11 ++- gramps/gui/glade/dbman.glade | 17 +--- gramps/gui/glade/editaddress.glade | 38 +++---- gramps/gui/glade/editeventref.glade | 94 +++++++++--------- gramps/gui/glade/editldsord.glade | 128 ++++++++++++------------ gramps/gui/glade/editplace.glade | 18 ++-- gramps/gui/glade/rule.glade | 76 ++++++-------- gramps/gui/glade/styleeditor.glade | 148 ++++++++++++---------------- gramps/gui/glade/tipofday.glade | 10 +- 10 files changed, 248 insertions(+), 294 deletions(-) diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py index a320315e7..459eae02c 100644 --- a/gramps/gui/configure.py +++ b/gramps/gui/configure.py @@ -182,7 +182,7 @@ class ConfigureDialog(ManagedWindow): None, dialogtitle, None) self.panel = Gtk.Notebook() self.panel.set_scrollable(True) - self.window.vbox.add(self.panel) + self.window.vbox.pack_start(self.panel, True, True, 0) self.__on_close = on_close self.window.connect('response', self.done) diff --git a/gramps/gui/glade/book.glade b/gramps/gui/glade/book.glade index 161645cdd..2ab91e4e4 100644 --- a/gramps/gui/glade/book.glade +++ b/gramps/gui/glade/book.glade @@ -1,6 +1,7 @@ + - + 300 False @@ -112,7 +113,7 @@ - False + True True 1 @@ -230,7 +231,6 @@ True False Save current set of configured selections - @@ -239,6 +239,7 @@ gtk-save + False @@ -275,7 +276,6 @@ True False Manage previously created books - @@ -284,6 +284,7 @@ gtk-index + False @@ -435,7 +436,6 @@ True False Add an item to the book - @@ -444,6 +444,7 @@ gtk-add + False diff --git a/gramps/gui/glade/dbman.glade b/gramps/gui/glade/dbman.glade index b71cde591..9393b7025 100644 --- a/gramps/gui/glade/dbman.glade +++ b/gramps/gui/glade/dbman.glade @@ -1,6 +1,7 @@ + - + False Revision comment - Gramps @@ -25,7 +26,6 @@ True True False - False True @@ -67,7 +67,7 @@ 3 GTK_FILL - + @@ -82,7 +82,7 @@ 3 1 2 - + @@ -123,7 +123,6 @@ True True False - False True @@ -179,7 +178,6 @@ True True False - False True @@ -312,7 +310,6 @@ True True False - False True @@ -344,7 +341,6 @@ True True False - False True @@ -361,7 +357,6 @@ True True False - False True @@ -378,7 +373,6 @@ True True False - False True @@ -395,7 +389,6 @@ True True False - False True @@ -430,7 +423,7 @@ - False + True True 1 diff --git a/gramps/gui/glade/editaddress.glade b/gramps/gui/glade/editaddress.glade index 8b1f845fd..b937c3b3f 100644 --- a/gramps/gui/glade/editaddress.glade +++ b/gramps/gui/glade/editaddress.glade @@ -1,6 +1,8 @@ + - + + False dialog @@ -321,25 +323,25 @@ Note: Use Residence Event for genealogical address data. True True none - - - - Private - - True False gtk-dialog-authentication + 1 Privacy - 1 + + + Private + + + 6 @@ -358,15 +360,6 @@ Note: Use Residence Event for genealogical address data. True Invoke date editor none - - - - - - - Date - - True @@ -379,6 +372,15 @@ Note: Use Residence Event for genealogical address data. + + + + + + Date + + + 6 @@ -443,7 +445,7 @@ Note: Use Residence Event for genealogical address data. - False + True True 1 diff --git a/gramps/gui/glade/editeventref.glade b/gramps/gui/glade/editeventref.glade index eca70783e..facdbd12b 100644 --- a/gramps/gui/glade/editeventref.glade +++ b/gramps/gui/glade/editeventref.glade @@ -1,6 +1,8 @@ + - + + False 600 @@ -22,7 +24,6 @@ True True True - False True @@ -39,7 +40,6 @@ True True True - False True @@ -56,7 +56,6 @@ True True True - False True @@ -119,7 +118,7 @@ GTK_FILL - + @@ -128,33 +127,32 @@ True True True - False none - - - - Private - - True False gtk-dialog-authentication + 1 Privacy - 1 + + + Private + + + 3 4 GTK_FILL - + @@ -172,7 +170,7 @@ 1 3 - + @@ -192,7 +190,7 @@ - False + True True 2 @@ -242,7 +240,7 @@ GTK_FILL - + @@ -259,7 +257,7 @@ 1 2 GTK_FILL - + @@ -276,7 +274,7 @@ 4 5 GTK_FILL - + @@ -294,7 +292,7 @@ 3 4 GTK_FILL - + @@ -310,7 +308,7 @@ 2 3 GTK_FILL - + @@ -335,7 +333,6 @@ True True True - False none @@ -357,7 +354,7 @@ 3 4 GTK_FILL - + @@ -366,7 +363,6 @@ True True True - False none @@ -381,7 +377,7 @@ 3 4 GTK_FILL - + @@ -392,17 +388,7 @@ True True Invoke date editor - False none - - - - - - - Date - - True @@ -415,6 +401,15 @@ + + + + + + Date + + + 2 @@ -422,7 +417,7 @@ 1 2 GTK_FILL - + @@ -431,24 +426,23 @@ True True True - False none - - - Private - - True False gtk-dialog-authentication + 1 Privacy - 1 + + + + + Private @@ -458,7 +452,7 @@ 1 4 GTK_FILL - + @@ -492,7 +486,7 @@ 2 2 3 - + @@ -506,7 +500,7 @@ 2 4 5 - + @@ -520,7 +514,7 @@ False 0 gtk-dialog-warning - 6 + 6 False @@ -568,7 +562,7 @@ 2 1 2 - + @@ -586,7 +580,7 @@ True False gtk-file - 1 + 1 True @@ -629,7 +623,7 @@ - False + True True 3 diff --git a/gramps/gui/glade/editldsord.glade b/gramps/gui/glade/editldsord.glade index 8a5f6d79f..adcd02b25 100644 --- a/gramps/gui/glade/editldsord.glade +++ b/gramps/gui/glade/editldsord.glade @@ -1,6 +1,26 @@ + - + + + + + + + + + + + + + + + + + + + + False 600 @@ -24,7 +44,6 @@ True True True - False True @@ -45,7 +64,6 @@ True Accept changes and close window Accept changes and close window - False True @@ -62,7 +80,6 @@ True True True - False True @@ -112,7 +129,7 @@ 3 4 GTK_FILL - + @@ -129,7 +146,7 @@ 4 5 GTK_FILL - + @@ -140,17 +157,7 @@ True True Invoke date editor - False none - - - - - - - Date - - True @@ -163,14 +170,23 @@ + + + + + + Date + + + 2 3 3 4 - - + + @@ -182,7 +198,7 @@ GTK_FILL - + @@ -198,7 +214,7 @@ 1 2 GTK_FILL - + @@ -219,7 +235,7 @@ 1 2 GTK_FILL - + @@ -234,7 +250,7 @@ 5 6 GTK_FILL - + @@ -248,7 +264,7 @@ 5 6 GTK_FILL - + @@ -256,17 +272,7 @@ False True True - False none - - - - - - - Family - - True @@ -279,6 +285,15 @@ + + + + + + Family + + + 2 @@ -286,7 +301,7 @@ 5 6 GTK_FILL - + @@ -302,7 +317,7 @@ 2 3 GTK_FILL - + @@ -323,7 +338,7 @@ 2 3 GTK_FILL - + @@ -348,7 +363,6 @@ True True True - False none @@ -379,33 +393,32 @@ True True True - False none - - - - Private - - True False gtk-dialog-authentication + 1 Privacy - 1 + + + Private + + + 2 3 GTK_FILL - + @@ -414,7 +427,6 @@ True True True - False none @@ -429,7 +441,7 @@ 4 5 GTK_FILL - + @@ -473,7 +485,7 @@ - False + True True 1 @@ -486,22 +498,4 @@ help - - - - - - - - - - - - - - - - - - diff --git a/gramps/gui/glade/editplace.glade b/gramps/gui/glade/editplace.glade index 41e8ff6dd..99d94250d 100644 --- a/gramps/gui/glade/editplace.glade +++ b/gramps/gui/glade/editplace.glade @@ -1,6 +1,8 @@ + - + + False dialog @@ -260,12 +262,6 @@ You can set these values via the Geography View by searching the place, or via a True True none - - - - Private - - True @@ -278,6 +274,12 @@ You can set these values via the Geography View by searching the place, or via a + + + Private + + + 4 @@ -425,7 +427,7 @@ You can set these values via the Geography View by searching the place, or via a - False + True True 1 diff --git a/gramps/gui/glade/rule.glade b/gramps/gui/glade/rule.glade index 85fb854dc..8075fed3c 100644 --- a/gramps/gui/glade/rule.glade +++ b/gramps/gui/glade/rule.glade @@ -1,6 +1,8 @@ + - + + False 400 @@ -27,7 +29,6 @@ True True False - False True @@ -45,7 +46,6 @@ True True False - False True @@ -120,7 +120,6 @@ True False Add a new filter - False @@ -145,7 +144,6 @@ True False Edit the selected filter - False @@ -170,7 +168,6 @@ True False Clone the selected filter - False @@ -193,7 +190,6 @@ True False Test the selected filter - False @@ -218,7 +214,6 @@ True False Delete the selected filter - False @@ -270,7 +265,7 @@ - False + True True 1 @@ -324,7 +319,6 @@ True True False - False True @@ -343,7 +337,6 @@ True True False - False True @@ -361,7 +354,6 @@ True True False - False True @@ -442,12 +434,6 @@ True False Add another rule to the filter - False - - - Add - - @@ -461,6 +447,11 @@ + + + Add + + False @@ -477,12 +468,6 @@ True False Edit the selected rule - False - - - Edit - - @@ -496,6 +481,11 @@ + + + Edit + + False @@ -512,12 +502,6 @@ True False Delete the selected rule - False - - - Remove - - @@ -531,6 +515,11 @@ + + + Remove + + False @@ -566,7 +555,7 @@ 5 6 GTK_FILL - + @@ -584,7 +573,7 @@ 3 4 GTK_FILL - + @@ -600,7 +589,7 @@ 4 GTK_FILL - + @@ -618,7 +607,7 @@ 2 3 GTK_FILL - + @@ -658,7 +647,7 @@ 1 2 GTK_FILL - + @@ -668,7 +657,6 @@ True True False - False True 0.5 True @@ -679,7 +667,7 @@ 7 8 GTK_FILL - + @@ -700,14 +688,14 @@ 6 7 GTK_FILL - + True True - + 2 @@ -715,7 +703,7 @@ 1 2 GTK_EXPAND | GTK_SHRINK | GTK_FILL - + @@ -728,7 +716,7 @@ 3 2 3 - + @@ -777,7 +765,6 @@ True True False - False True @@ -795,7 +782,6 @@ True True False - False True @@ -813,7 +799,6 @@ True True False - False True @@ -978,7 +963,7 @@ - False + True True 1 @@ -1017,7 +1002,6 @@ True True False - False True diff --git a/gramps/gui/glade/styleeditor.glade b/gramps/gui/glade/styleeditor.glade index 65bdfb1db..fb81bee9d 100644 --- a/gramps/gui/glade/styleeditor.glade +++ b/gramps/gui/glade/styleeditor.glade @@ -1,6 +1,8 @@ + - + + 100 0.20000000000000001 @@ -64,7 +66,6 @@ True True False - False True @@ -83,7 +84,6 @@ True True False - False True @@ -296,7 +296,7 @@ 4 GTK_FILL - + @@ -306,7 +306,6 @@ True True False - False True 0.5 True @@ -317,7 +316,7 @@ 1 2 GTK_FILL - + @@ -327,7 +326,6 @@ True True False - False True 0.5 True @@ -339,7 +337,7 @@ 2 3 GTK_FILL - + @@ -359,7 +357,7 @@ 3 4 GTK_FILL - + @@ -376,7 +374,7 @@ 4 5 GTK_FILL - + @@ -393,7 +391,7 @@ 4 5 GTK_FILL - + @@ -413,7 +411,7 @@ 5 6 GTK_FILL - + @@ -444,7 +442,6 @@ True True False - False True 0.5 True @@ -455,7 +452,7 @@ 8 9 GTK_FILL - + @@ -465,7 +462,6 @@ True True False - False True 0.5 True @@ -476,7 +472,7 @@ 9 10 GTK_FILL - + @@ -486,7 +482,6 @@ True True False - False True 0.5 True @@ -497,7 +492,7 @@ 10 11 GTK_FILL - + @@ -513,7 +508,7 @@ 6 7 GTK_FILL - + @@ -522,7 +517,6 @@ True True False - False 1 @@ -530,7 +524,7 @@ 6 7 GTK_FILL - + @@ -601,7 +595,6 @@ True True False - False True 0.5 True @@ -612,7 +605,7 @@ 1 2 GTK_FILL - + @@ -622,7 +615,6 @@ True True False - False True 0.5 True @@ -634,7 +626,7 @@ 1 2 GTK_FILL - + @@ -644,7 +636,6 @@ True True False - False True 0.5 True @@ -656,7 +647,7 @@ 1 2 GTK_FILL - + @@ -666,7 +657,6 @@ True True False - False True 0.5 True @@ -678,7 +668,7 @@ 1 2 GTK_FILL - + @@ -717,7 +707,7 @@ 2 3 GTK_FILL - + @@ -736,7 +726,7 @@ 7 8 GTK_FILL - + @@ -753,7 +743,7 @@ 5 6 GTK_FILL - + @@ -770,7 +760,7 @@ 6 7 GTK_FILL - + @@ -787,7 +777,7 @@ 7 8 GTK_FILL - + @@ -806,7 +796,7 @@ 6 7 GTK_FILL - + @@ -825,7 +815,7 @@ 5 6 GTK_FILL - + @@ -846,7 +836,7 @@ 8 9 GTK_FILL - + @@ -865,7 +855,7 @@ 9 10 GTK_FILL - + @@ -884,7 +874,7 @@ 10 11 GTK_FILL - + @@ -901,7 +891,7 @@ 9 10 GTK_FILL - + @@ -918,7 +908,7 @@ 10 11 GTK_FILL - + @@ -939,7 +929,7 @@ 11 12 GTK_FILL - + @@ -956,7 +946,7 @@ 4 6 7 - + @@ -973,7 +963,7 @@ 4 7 8 - + @@ -990,7 +980,7 @@ 4 5 6 - + @@ -1007,7 +997,7 @@ 4 9 10 - + @@ -1024,7 +1014,7 @@ 4 10 11 - + @@ -1034,7 +1024,6 @@ True True False - False True 0.5 True @@ -1045,7 +1034,7 @@ 13 14 GTK_FILL - + @@ -1055,7 +1044,6 @@ True True False - False True 0.5 True @@ -1066,7 +1054,7 @@ 13 14 GTK_FILL - + @@ -1076,7 +1064,6 @@ True True False - False True 0.5 True @@ -1087,7 +1074,7 @@ 13 14 GTK_FILL - + @@ -1106,7 +1093,7 @@ 12 13 GTK_FILL - + @@ -1123,7 +1110,7 @@ 4 12 13 - + @@ -1140,7 +1127,7 @@ 12 13 GTK_FILL - + @@ -1150,7 +1137,6 @@ True True False - False True 0.5 True @@ -1161,7 +1147,7 @@ 13 14 GTK_FILL - + @@ -1177,7 +1163,7 @@ 3 4 GTK_FILL - + @@ -1195,7 +1181,7 @@ 4 5 GTK_FILL - + @@ -1204,7 +1190,6 @@ True True False - False 1 @@ -1212,7 +1197,7 @@ 3 4 GTK_FILL - + @@ -1249,7 +1234,7 @@ - False + True True 1 @@ -1284,7 +1269,6 @@ True True False - False True @@ -1302,7 +1286,6 @@ True True False - False True @@ -1379,12 +1362,6 @@ True False Add a new style - False - - - Add - - @@ -1398,6 +1375,11 @@ + + + Add + + False @@ -1412,12 +1394,6 @@ True False Edit the selected style - False - - - Edit - - @@ -1431,6 +1407,11 @@ + + + Edit + + False @@ -1445,12 +1426,6 @@ True False Delete the selected style - False - - - Remove - - @@ -1464,6 +1439,11 @@ + + + Remove + + False @@ -1487,7 +1467,7 @@ - False + True True 1 diff --git a/gramps/gui/glade/tipofday.glade b/gramps/gui/glade/tipofday.glade index c40fa1b18..82a2737e5 100644 --- a/gramps/gui/glade/tipofday.glade +++ b/gramps/gui/glade/tipofday.glade @@ -1,12 +1,14 @@ + - + True False - start + True + True 8 - window1 + window1 center @@ -76,6 +78,8 @@ True False + start + True 0 gtk-missing-image