Display report zoom factor with one decimal space.

The code actually allowed fractional scaling, but the display of the option didn't.
As a result the spin button was acting oddly.
This was discovered while looking into bug
https://bugs.gnucash.org/show_bug.cgi?id=797712 but this commit is not a fix for that bug.
This commit is contained in:
Geert Janssens 2020-05-02 18:11:05 +02:00
parent b4177bc60a
commit ca9d58b278

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 --> <!-- Generated with glade 3.22.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.10"/> <requires lib="gtk+" version="3.10"/>
<object class="GtkAdjustment" id="auto_decimal_places_adj"> <object class="GtkAdjustment" id="auto_decimal_places_adj">
@ -105,7 +105,7 @@
<property name="default_height">400</property> <property name="default_height">400</property>
<property name="type_hint">normal</property> <property name="type_hint">normal</property>
<signal name="response" handler="gnc_preferences_response_cb" swapped="no"/> <signal name="response" handler="gnc_preferences_response_cb" swapped="no"/>
<child> <child type="titlebar">
<placeholder/> <placeholder/>
</child> </child>
<child internal-child="vbox"> <child internal-child="vbox">
@ -2854,6 +2854,7 @@ many months before the current month:</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="margin_left">12</property> <property name="margin_left">12</property>
<property name="adjustment">default_zoom_adj</property> <property name="adjustment">default_zoom_adj</property>
<property name="digits">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>