I just made a small panel and got this.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
   <requires lib="gtk+" version="3.10"/>
   <object class="GtkAdjustment" id="adjustment1">
     <property name="upper">100</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
   </object>
   <object class="GtkWindow" id="window1">
     <property name="can_focus">False</property>
     <child>
       <object class="GtkSpinButton" id="spinbutton1">
         <property name="visible">True</property>
         <property name="can_focus">True</property>
         <property name="adjustment">adjustment1</property>
       </object>
     </child>
   </object>
</interface>


On 4/24/2016 8:50 AM, andy pugh wrote:
> On 24 April 2016 at 13:47, Philipp Burch <[email protected]> wrote:
>> It's not actually strange, that's just the behaviour of floating point
>> numbers.
> Well, yes and no.
>
> My entry in the Glade UI is an a textual form. The version that
> appears in the .ui file is also in a textual form.
> I think it is reasonable to expect the two to match.
>
> This behaviour appears to lead to a problem where zero is not exactly
> represented in the output from the spinbox, despite the value in the
> spinbox being displayed as zero.
> (and FP certainly can represent zero exactly)
>


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to