[Glade-users] Bad behaviour of GtkVBox



I have a GtkVBox vbox1 with 3 items in a GtkWindow.
In vbox1 I have two GtkVBoxes and a GtkHButtonBox, packed from end in 
position 0, 1 and 2.
If I select vbox1 and then in the General tab I change number of items 
to 4 I can't change it back to 3, even if the newly added position is empty.
I was able to solve it removing the child in the .glade file and reload 
it in Glade.
Is this a bug I have to file?

I enclose my .glade file.

Glade 3.8.1
Windows XP

----SNIP----
<?xml version="1.0" encoding="UTF-8"?>
<interface>
   <requires lib="gtk+" version="2.24"/>
   <!-- interface-naming-policy project-wide -->
   <object class="GtkWindow" id="window1">
     <property name="can_focus">False</property>
     <property name="border_width">6</property>
     <property name="title" translatable="yes">Elaborazione BOM</property>
     <property name="window_position">center</property>
     <signal name="delete-event" handler="on_window1_delete_event" 
swapped="no"/>
     <child>
       <object class="GtkVBox" id="vbox1">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="spacing">4</property>
         <child>
           <object class="GtkVBox" id="vbox3">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <child>
               <object class="GtkHButtonBox" id="hbuttonbox6">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="layout_style">start</property>
                 <child>
                   <object class="GtkVButtonBox" id="vbuttonbox2">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <child>
                       <object class="GtkCheckButton" id="checkbutton2">
                         <property name="label" 
translatable="yes">Sostituzione micro</property>
                         <property 
name="use_action_appearance">False</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="yalign">1</property>
                         <property name="draw_indicator">True</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>
                         <property name="fill">True</property>
                         <property name="position">0</property>
                       </packing>
                     </child>
                     <child>
                       <object class="GtkHBox" id="hbox1">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="spacing">4</property>
                         <child>
                           <object class="GtkVBox" id="vbox4">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="spacing">2</property>
                             <property name="homogeneous">True</property>
                             <child>
                               <object class="GtkEntry" id="entry6">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="has_frame">False</property>
                                 <property 
name="invisible_char">?</property>
                                 <property name="width_chars">10</property>
                                 <property 
name="invisible_char_set">True</property>
                                 <property 
name="primary_icon_activatable">False</property>
                                 <property 
name="secondary_icon_activatable">False</property>
                                 <property 
name="primary_icon_sensitive">True</property>
                                 <property 
name="secondary_icon_sensitive">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
                                 <property name="position">0</property>
                               </packing>
                             </child>
                             <child>
                               <object class="GtkEntry" id="entry7">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="has_frame">False</property>
                                 <property 
name="invisible_char">?</property>
                                 <property name="width_chars">10</property>
                                 <property 
name="invisible_char_set">True</property>
                                 <property 
name="primary_icon_activatable">False</property>
                                 <property 
name="secondary_icon_activatable">False</property>
                                 <property 
name="primary_icon_sensitive">True</property>
                                 <property 
name="secondary_icon_sensitive">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
                                 <property name="position">1</property>
                               </packing>
                             </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>
                             <property name="fill">True</property>
                             <property name="position">0</property>
                           </packing>
                         </child>
                         <child>
                           <object class="GtkVBox" id="vbox5">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="spacing">2</property>
                             <property name="homogeneous">True</property>
                             <child>
                               <object class="GtkEntry" id="entry8">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="has_frame">False</property>
                                 <property 
name="invisible_char">?</property>
                                 <property name="width_chars">10</property>
                                 <property 
name="invisible_char_set">True</property>
                                 <property 
name="primary_icon_activatable">False</property>
                                 <property 
name="secondary_icon_activatable">False</property>
                                 <property 
name="primary_icon_sensitive">True</property>
                                 <property 
name="secondary_icon_sensitive">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
                                 <property name="position">0</property>
                               </packing>
                             </child>
                             <child>
                               <object class="GtkEntry" id="entry9">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="has_frame">False</property>
                                 <property 
name="invisible_char">?</property>
                                 <property name="width_chars">10</property>
                                 <property 
name="invisible_char_set">True</property>
                                 <property 
name="primary_icon_activatable">False</property>
                                 <property 
name="secondary_icon_activatable">False</property>
                                 <property 
name="primary_icon_sensitive">True</property>
                                 <property 
name="secondary_icon_sensitive">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
                                 <property name="position">1</property>
                               </packing>
                             </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>
                             <property name="fill">True</property>
                             <property name="position">1</property>
                           </packing>
                         </child>
                       </object>
                       <packing>
                         <property name="expand">False</property>
                         <property name="fill">True</property>
                         <property name="position">1</property>
                       </packing>
                     </child>
                   </object>
                   <packing>
                     <property name="expand">False</property>
                     <property name="fill">True</property>
                     <property name="position">0</property>
                   </packing>
                 </child>
               </object>
               <packing>
                 <property name="expand">True</property>
                 <property name="fill">True</property>
                 <property name="position">0</property>
               </packing>
             </child>
           </object>
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
             <property name="pack_type">end</property>
             <property name="position">0</property>
           </packing>
         </child>
         <child>
           <object class="GtkVBox" id="vbox2">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <child>
               <object class="GtkHButtonBox" id="hbuttonbox4">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="layout_style">start</property>
                 <child>
                   <object class="GtkLabel" id="label1">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="yalign">1</property>
                     <property name="label" translatable="yes">Codice 
premontaggio</property>
                   </object>
                   <packing>
                     <property name="expand">False</property>
                     <property name="fill">False</property>
                     <property name="position">0</property>
                   </packing>
                 </child>
               </object>
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkHButtonBox" id="hbuttonbox3">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="layout_style">start</property>
                 <child>
                   <object class="GtkEntry" id="entry1">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="has_frame">False</property>
                     <property name="invisible_char">?</property>
                     <property name="width_chars">10</property>
                     <property 
name="primary_icon_activatable">False</property>
                     <property 
name="secondary_icon_activatable">False</property>
                     <property name="primary_icon_sensitive">True</property>
                     <property 
name="secondary_icon_sensitive">True</property>
                   </object>
                   <packing>
                     <property name="expand">False</property>
                     <property name="fill">False</property>
                     <property name="position">0</property>
                   </packing>
                 </child>
               </object>
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">True</property>
                 <property name="position">1</property>
               </packing>
             </child>
           </object>
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
             <property name="padding">4</property>
             <property name="pack_type">end</property>
             <property name="position">1</property>
           </packing>
         </child>
         <child>
           <object class="GtkHButtonBox" id="hbuttonbox1">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="spacing">4</property>
             <property name="layout_style">spread</property>
             <child>
               <object class="GtkButton" id="button1">
                 <property name="label" translatable="yes">Apri 
BOM</property>
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
                 <signal name="pressed" handler="on_button1_pressed" 
swapped="no"/>
               </object>
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkButton" id="button3">
                 <property name="label" translatable="yes">Elabora 
BOM</property>
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
               </object>
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">1</property>
               </packing>
             </child>
           </object>
           <packing>
             <property name="expand">False</property>
             <property name="fill">False</property>
             <property name="pack_type">end</property>
             <property name="position">2</property>
           </packing>
         </child>
       </object>
     </child>
   </object>
</interface>
-- 
Regards,
Manuel Ferrero
R&D department

Reer SpA        
Tel.  +39 011 2482215
Fax. +39 011 859867

L'utilizzo non autorizzato del presente messaggio e' vietato e potrebbe costituire reato.
Se il presente messaggio non e' a Lei indirizzato, il suo contenuto non deve essere considerato
come trasmesso o autorizzato dalla Reer SpA; in tale caso Le saremmo grati se, via e-mail,
ce ne comunicasse l'errata ricezione.

The unauthorized use of this e-mail is prohibited and could constitute an offence.
If you are not the intended recipient of this message its contents shall be understood as neither
given nor endorsed by Reer SpA. Please notify Reer SpA by e-mail immediately in that case.





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