From 0e9f368b4a4083168d2875299fbeb030af33a4a8 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Fri, 18 Sep 2020 10:38:24 +0100 Subject: [PATCH] Bug 797857 - Preference Dialog to large so buttons unreachable The Preference dialog height is determined by the greater size of the tab buttons or the number of options on the tab pages. This currently is the 'General' tab. To reduce this, the number options have been moved to the 'Date/Time' page and reorded. --- gnucash/gtkbuilder/dialog-preferences.glade | 330 ++++++++++---------- 1 file changed, 169 insertions(+), 161 deletions(-) diff --git a/gnucash/gtkbuilder/dialog-preferences.glade b/gnucash/gtkbuilder/dialog-preferences.glade index 20cfb90499..3233c736c0 100644 --- a/gnucash/gtkbuilder/dialog-preferences.glade +++ b/gnucash/gtkbuilder/dialog-preferences.glade @@ -883,7 +883,7 @@ 0 - 6 + 9 @@ -893,7 +893,7 @@ 0 - 5 + 8 @@ -906,7 +906,7 @@ 0 - 3 + 6 @@ -919,7 +919,7 @@ 0 - 0 + 16 @@ -929,7 +929,7 @@ 0 - 2 + 15 @@ -947,7 +947,7 @@ 0 - 1 + 17 @@ -960,7 +960,7 @@ 0 - 8 + 11 @@ -973,7 +973,7 @@ 0 - 9 + 12 @@ -992,7 +992,7 @@ 0 - 10 + 13 @@ -1012,7 +1012,7 @@ many months before the current month 0 - 11 + 14 @@ -1033,7 +1033,7 @@ many months before the current month 1 - 11 + 14 @@ -1058,11 +1058,144 @@ many months before the current month + + 0 + 7 + + + + + True + False + start + <b>Numbers</b> + True + + + 0 + 0 + + + + + Force P_rices to display as decimals + True + True + False + True + Force prices to display as decimals even if they must be rounded. + If active, GnuCash will round prices as necessary to display them as decimals instead of displaying the exact fraction if the fractional part cannot be exactly represented as a decimal. + start + True + True + + + 0 + 1 + + + + + Display ne_gative amounts in red + True + True + False + True + Display negative amounts in red. + Display negative amounts in red. + start + True + True + + + 0 + 2 + + + + + _Automatic decimal point + True + True + False + True + Automatically insert a decimal point into values that are entered without one. + Automatically insert a decimal point into values that are entered without one. + start + True + True + + + 0 + 3 + + + + + True + False + start + _Decimal places + True + pref/general/auto-decimal-places + 0 4 + + + True + True + True + How many automatic decimal places will be filled in. + How many automatic decimal places will be filled in. + + 2 + False + False + auto_decimal_places_adj + 1 + 2 + + + 1 + 4 + + + + + True + False + + + 0 + 5 + + + + + True + False + + + 0 + 10 + + + + + + + + + + + + + + @@ -1109,7 +1242,7 @@ many months before the current month True False start - Date/Time + Numbers, Date, Time 2 @@ -1232,7 +1365,7 @@ many months before the current month 1 - 24 + 17 @@ -1247,7 +1380,7 @@ many months before the current month 0 - 22 + 15 @@ -1265,7 +1398,7 @@ many months before the current month 0 - 16 + 9 @@ -1278,7 +1411,7 @@ many months before the current month 0 - 15 + 8 @@ -1291,107 +1424,6 @@ many months before the current month 13 - - - True - False - start - _Decimal places - True - pref/general/auto-decimal-places - - - 0 - 13 - - - - - True - True - True - How many automatic decimal places will be filled in. - How many automatic decimal places will be filled in. - - 2 - False - False - auto_decimal_places_adj - 1 - 2 - - - 1 - 13 - - - - - _Automatic decimal point - True - True - False - True - Automatically insert a decimal point into values that are entered without one. - Automatically insert a decimal point into values that are entered without one. - start - True - True - - - 0 - 12 - - - - - Display ne_gative amounts in red - True - True - False - True - Display negative amounts in red. - Display negative amounts in red. - start - True - True - - - 0 - 11 - - - - - Force P_rices to display as decimals - True - True - False - True - Force prices to display as decimals even if they must be rounded. - If active, GnuCash will round prices as necessary to display them as decimals instead of displaying the exact fraction if the fractional part cannot be exactly represented as a decimal. - start - True - True - - - 0 - 10 - - - - - True - False - start - <b>Numbers</b> - True - - - 0 - 9 - - True @@ -1399,7 +1431,7 @@ many months before the current month 0 - 8 + 7 @@ -1412,7 +1444,7 @@ many months before the current month 0 - 30 + 23 @@ -1426,7 +1458,7 @@ many months before the current month 0 - 31 + 24 @@ -1446,7 +1478,7 @@ many months before the current month 1 - 31 + 24 @@ -1478,7 +1510,7 @@ many months before the current month 0 - 18 + 11 @@ -1522,7 +1554,7 @@ many months before the current month 1 - 18 + 11 @@ -1540,7 +1572,7 @@ many months before the current month 0 - 17 + 10 @@ -1550,7 +1582,7 @@ many months before the current month 0 - 21 + 14 @@ -1568,7 +1600,7 @@ many months before the current month 0 - 23 + 16 @@ -1586,7 +1618,7 @@ many months before the current month 0 - 24 + 17 @@ -1604,7 +1636,7 @@ many months before the current month 0 - 25 + 18 @@ -1621,7 +1653,7 @@ many months before the current month 0 - 19 + 12 @@ -1636,7 +1668,7 @@ many months before the current month 0 - 20 + 13 @@ -1678,7 +1710,7 @@ many months before the current month 1 - 20 + 13 @@ -1688,7 +1720,7 @@ many months before the current month 0 - 26 + 19 @@ -1702,7 +1734,7 @@ many months before the current month 1 - 28 + 21 @@ -1713,7 +1745,7 @@ many months before the current month True False - Path head for Linked Files Relative Paths + Path head for Linked Files Relative Paths True @@ -1737,7 +1769,7 @@ many months before the current month 0 - 28 + 21 @@ -1784,7 +1816,7 @@ many months before the current month 0 - 27 + 20 @@ -1794,7 +1826,7 @@ many months before the current month 0 - 29 + 22 @@ -1848,30 +1880,6 @@ many months before the current month - - - - - - - - - - - - - - - - - - - - - - - - 3