[chronojump] More gui improvements



commit 3995e7221632dd27e08033c8bcc0dad232d002db
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Mar 20 12:09:48 2020 +0100

    More gui improvements

 glade/app1.glade           | 447 ++++++++++++++++++++++-----------------------
 src/gui/app1/chronojump.cs |   1 -
 src/gui/app1/encoder.cs    |   4 +-
 src/gui/app1/menu.cs       |  11 +-
 4 files changed, 230 insertions(+), 233 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 330d598d..58f4ebbf 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -763,7 +763,8 @@
                                 <property name="left_padding">4</property>
                                 <property name="right_padding">4</property>
                                 <child>
-                                  <widget class="GtkViewport" id="viewport_menu_supertop">
+                                  <widget class="GtkViewport" id="viewport_menu_top">
+                                    <property name="width_request">200</property>
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <child>
@@ -772,65 +773,54 @@
                                         <property name="can_focus">False</property>
                                         <property name="spacing">4</property>
                                         <child>
-                                          <widget class="GtkViewport" id="viewport_menu_top">
+                                          <widget class="GtkHBox" id="hbox365">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
+                                            <property name="border_width">2</property>
+                                            <property name="spacing">10</property>
                                             <child>
-                                              <widget class="GtkHBox" id="hbox365">
+                                              <widget class="GtkButton" id="button_show_menu">
                                                 <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="border_width">2</property>
-                                                <property name="spacing">10</property>
+                                                <property name="can_focus">True</property>
+                                                <property name="receives_default">True</property>
+                                                <signal name="clicked" handler="on_button_show_menu_clicked" 
swapped="no"/>
                                                 <child>
-                                                  <widget class="GtkButton" id="button_show_menu">
+                                                  <widget class="GtkHBox" id="hbox367">
                                                     <property name="visible">True</property>
-                                                    <property name="can_focus">True</property>
-                                                    <property name="receives_default">True</property>
-                                                    <signal name="clicked" 
handler="on_button_show_menu_clicked" swapped="no"/>
+                                                    <property name="can_focus">False</property>
+                                                    <property name="spacing">4</property>
                                                     <child>
-                                                      <widget class="GtkHBox" id="hbox367">
+                                                      <widget class="GtkLabel" id="label_button_show_menu">
+                                                        <property name="visible">True</property>
+                                                        <property name="can_focus">False</property>
+                                                        <property name="label" 
translatable="yes">Menu</property>
+                                                      </widget>
+                                                      <packing>
+                                                        <property name="expand">True</property>
+                                                        <property name="fill">True</property>
+                                                        <property name="position">0</property>
+                                                      </packing>
+                                                    </child>
+                                                    <child>
+                                                      <widget class="GtkHBox" id="hbox368">
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
-                                                        <property name="spacing">4</property>
                                                         <child>
-                                                          <widget class="GtkLabel" 
id="label_button_show_menu">
+                                                          <widget class="GtkArrow" 
id="arrow_menu_show_menu_up">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="label" 
translatable="yes">Menu</property>
+                                                            <property name="arrow_type">up</property>
                                                           </widget>
                                                           <packing>
-                                                            <property name="expand">True</property>
-                                                            <property name="fill">True</property>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
                                                             <property name="position">0</property>
                                                           </packing>
                                                         </child>
                                                         <child>
-                                                          <widget class="GtkHBox" id="hbox368">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <child>
-                                                            <widget class="GtkArrow" 
id="arrow_menu_show_menu_up">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property name="arrow_type">up</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
-                                                            <widget class="GtkArrow" 
id="arrow_menu_show_menu_down">
+                                                          <widget class="GtkArrow" 
id="arrow_menu_show_menu_down">
                                                             <property name="can_focus">False</property>
                                                             <property name="arrow_type">down</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="position">1</property>
-                                                            </packing>
-                                                            </child>
                                                           </widget>
                                                           <packing>
                                                             <property name="expand">False</property>
@@ -839,60 +829,65 @@
                                                           </packing>
                                                         </child>
                                                       </widget>
+                                                      <packing>
+                                                        <property name="expand">False</property>
+                                                        <property name="fill">False</property>
+                                                        <property name="position">1</property>
+                                                      </packing>
                                                     </child>
                                                   </widget>
-                                                  <packing>
-                                                    <property name="expand">False</property>
-                                                    <property name="fill">False</property>
-                                                    <property name="position">0</property>
-                                                  </packing>
                                                 </child>
+                                              </widget>
+                                              <packing>
+                                                <property name="expand">False</property>
+                                                <property name="fill">False</property>
+                                                <property name="position">0</property>
+                                              </packing>
+                                            </child>
+                                            <child>
+                                              <widget class="GtkButton" id="button_modes">
+                                                <property name="visible">True</property>
+                                                <property name="sensitive">False</property>
+                                                <property name="can_focus">True</property>
+                                                <property name="receives_default">True</property>
+                                                <signal name="clicked" handler="on_button_modes_clicked" 
swapped="no"/>
                                                 <child>
-                                                  <widget class="GtkButton" id="button_modes">
+                                                  <widget class="GtkHBox" id="hbox366">
                                                     <property name="visible">True</property>
-                                                    <property name="sensitive">False</property>
-                                                    <property name="can_focus">True</property>
-                                                    <property name="receives_default">True</property>
-                                                    <signal name="clicked" handler="on_button_modes_clicked" 
swapped="no"/>
+                                                    <property name="can_focus">False</property>
+                                                    <property name="spacing">4</property>
                                                     <child>
-                                                      <widget class="GtkHBox" id="hbox366">
+                                                      <widget class="GtkLabel" id="label460">
+                                                        <property name="visible">True</property>
+                                                        <property name="can_focus">False</property>
+                                                        <property name="label" 
translatable="yes">Mode</property>
+                                                      </widget>
+                                                      <packing>
+                                                        <property name="expand">True</property>
+                                                        <property name="fill">True</property>
+                                                        <property name="position">0</property>
+                                                      </packing>
+                                                    </child>
+                                                    <child>
+                                                      <widget class="GtkArrow" id="arrow_down5">
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
-                                                        <property name="spacing">4</property>
-                                                        <child>
-                                                          <widget class="GtkLabel" id="label460">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" 
translatable="yes">Mode</property>
-                                                          </widget>
-                                                          <packing>
-                                                            <property name="expand">True</property>
-                                                            <property name="fill">True</property>
-                                                            <property name="position">0</property>
-                                                          </packing>
-                                                        </child>
-                                                        <child>
-                                                          <widget class="GtkArrow" id="arrow_down5">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                          </widget>
-                                                          <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="position">1</property>
-                                                          </packing>
-                                                        </child>
                                                       </widget>
+                                                      <packing>
+                                                        <property name="expand">False</property>
+                                                        <property name="fill">False</property>
+                                                        <property name="position">1</property>
+                                                      </packing>
                                                     </child>
                                                   </widget>
-                                                  <packing>
-                                                    <property name="expand">False</property>
-                                                    <property name="fill">False</property>
-                                                    <property name="pack_type">end</property>
-                                                    <property name="position">1</property>
-                                                  </packing>
                                                 </child>
                                               </widget>
+                                              <packing>
+                                                <property name="expand">False</property>
+                                                <property name="fill">False</property>
+                                                <property name="pack_type">end</property>
+                                                <property name="position">1</property>
+                                              </packing>
                                             </child>
                                           </widget>
                                           <packing>
@@ -1726,28 +1721,13 @@
                                                   <widget class="GtkViewport" id="viewport_persons">
                                                     <property name="can_focus">False</property>
                                                     <child>
-                                                      <widget class="GtkVBox" id="vbox_persons">
+                                                      <widget class="GtkFrame" id="frame_persons">
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
+                                                        <property name="label_xalign">0</property>
+                                                        <property name="shadow_type">none</property>
                                                         <child>
-                                                          <widget class="GtkHSeparator" id="hseparator1">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                          </widget>
-                                                          <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">True</property>
-                                                            <property name="position">0</property>
-                                                          </packing>
-                                                        </child>
-                                                        <child>
-                                                          <widget class="GtkFrame" id="frame_persons">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label_xalign">0</property>
-                                                            <property name="shadow_type">none</property>
-                                                            <child>
-                                                            <widget class="GtkAlignment" id="alignment52">
+                                                          <widget class="GtkAlignment" id="alignment52">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <child>
@@ -2511,18 +2491,16 @@
                                                             <widget class="GtkHBox" id="hbox167">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="border_width">2</property>
                                                             <child>
                                                             <widget class="GtkVBox" id="vbox83">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="border_width">2</property>
                                                             <property name="spacing">4</property>
                                                             <child>
                                                             <widget class="GtkHBox" id="hbox_persons_top">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="spacing">6</property>
+                                                            <property name="spacing">4</property>
                                                             <child>
                                                             <widget class="GtkButton" 
id="button_manage_persons">
                                                             <property name="visible">True</property>
@@ -2776,7 +2754,7 @@
                                                             <widget class="GtkLabel" id="label156">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="label" 
translatable="yes">Load</property>
+                                                            <property name="label" translatable="yes">Load 
into session</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
@@ -3413,20 +3391,12 @@
                                                             </child>
                                                             </widget>
                                                             </child>
-                                                            </widget>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            <packing>
-                                                            <property name="type">label_item</property>
-                                                            </packing>
-                                                            </child>
                                                           </widget>
+                                                        </child>
+                                                        <child>
+                                                          <placeholder/>
                                                           <packing>
-                                                            <property name="expand">True</property>
-                                                            <property name="fill">True</property>
-                                                            <property name="padding">2</property>
-                                                            <property name="position">1</property>
+                                                            <property name="type">label_item</property>
                                                           </packing>
                                                         </child>
                                                       </widget>
@@ -3438,6 +3408,9 @@
                                                     <property name="position">1</property>
                                                   </packing>
                                                 </child>
+                                                <child>
+                                                  <placeholder/>
+                                                </child>
                                               </widget>
                                             </child>
                                           </widget>
@@ -24160,6 +24133,12 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -25239,25 +25218,30 @@ Concentric</property>
                                             <property name="tab_hborder">10</property>
                                             <property name="tab_vborder">4</property>
                                             <child>
-                                              <widget class="GtkVBox" id="vbox_encoder_capture">
+                                              <widget class="GtkAlignment" id="alignment12">
                                                 <property name="visible">True</property>
                                                 <property name="can_focus">False</property>
-                                                <property name="spacing">4</property>
+                                                <property name="top_padding">4</property>
+                                                <property name="bottom_padding">4</property>
                                                 <child>
-                                                  <widget class="GtkHBox" id="hbox_encoder_capture_top">
+                                                  <widget class="GtkVBox" id="vbox_encoder_capture">
                                                     <property name="visible">True</property>
                                                     <property name="can_focus">False</property>
-                                                    <property name="border_width">4</property>
-                                                    <property name="spacing">16</property>
+                                                    <property name="spacing">4</property>
                                                     <child>
-                                                      <widget class="GtkFrame" 
id="frame_encoder_capture_options">
+                                                      <widget class="GtkHBox" id="hbox_encoder_capture_top">
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
-                                                        <property name="label_xalign">0</property>
-                                                        <property name="label_yalign">0</property>
-                                                        <property name="shadow_type">in</property>
+                                                        <property name="spacing">16</property>
                                                         <child>
-                                                          <widget class="GtkAlignment" id="alignment23">
+                                                          <widget class="GtkFrame" 
id="frame_encoder_capture_options">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label_xalign">0</property>
+                                                            <property name="label_yalign">0</property>
+                                                            <property name="shadow_type">in</property>
+                                                            <child>
+                                                            <widget class="GtkAlignment" id="alignment23">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="top_padding">10</property>
@@ -25638,27 +25622,27 @@ Concentric</property>
                                                             </child>
                                                             </widget>
                                                             </child>
+                                                            </widget>
+                                                            </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            <packing>
+                                                            <property name="type">label_item</property>
+                                                            </packing>
+                                                            </child>
                                                           </widget>
-                                                        </child>
-                                                        <child>
-                                                          <placeholder/>
                                                           <packing>
-                                                            <property name="type">label_item</property>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">0</property>
                                                           </packing>
                                                         </child>
-                                                      </widget>
-                                                      <packing>
-                                                        <property name="expand">False</property>
-                                                        <property name="fill">False</property>
-                                                        <property name="position">0</property>
-                                                      </packing>
-                                                    </child>
-                                                    <child>
-                                                      <widget class="GtkHBox" 
id="hbox_encoder_capture_actions">
-                                                        <property name="visible">True</property>
-                                                        <property name="can_focus">False</property>
                                                         <child>
-                                                          <widget class="GtkHBox" 
id="hbox_encoder_capture_wait">
+                                                          <widget class="GtkHBox" 
id="hbox_encoder_capture_actions">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
+                                                            <widget class="GtkHBox" 
id="hbox_encoder_capture_wait">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">8</property>
@@ -25862,15 +25846,15 @@ Concentric</property>
                                                             <property name="position">2</property>
                                                             </packing>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
                                                             <property name="position">0</property>
-                                                          </packing>
-                                                        </child>
-                                                        <child>
-                                                          <widget class="GtkVBox" 
id="vbox_encoder_capture_doing">
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkVBox" 
id="vbox_encoder_capture_doing">
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">8</property>
                                                             <child>
@@ -25974,15 +25958,15 @@ Concentric</property>
                                                             <property name="position">1</property>
                                                             </packing>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
                                                             <property name="position">1</property>
-                                                          </packing>
-                                                        </child>
-                                                        <child>
-                                                          <widget class="GtkAlignment" id="alignment12">
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkAlignment" id="alignment14">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="left_padding">16</property>
@@ -26224,27 +26208,27 @@ Concentric</property>
                                                             </child>
                                                             </widget>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
                                                             <property name="position">2</property>
+                                                            </packing>
+                                                            </child>
+                                                          </widget>
+                                                          <packing>
+                                                            <property name="expand">True</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">1</property>
                                                           </packing>
                                                         </child>
-                                                      </widget>
-                                                      <packing>
-                                                        <property name="expand">True</property>
-                                                        <property name="fill">False</property>
-                                                        <property name="position">1</property>
-                                                      </packing>
-                                                    </child>
-                                                    <child>
-                                                      <widget class="GtkVBox" id="vbox1">
-                                                        <property name="visible">True</property>
-                                                        <property name="can_focus">False</property>
-                                                        <property name="spacing">8</property>
                                                         <child>
-                                                          <widget class="GtkHBox" 
id="hbox_encoder_configuration">
+                                                          <widget class="GtkVBox" id="vbox1">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="spacing">8</property>
+                                                            <child>
+                                                            <widget class="GtkHBox" 
id="hbox_encoder_configuration">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="border_width">4</property>
@@ -26439,15 +26423,15 @@ Concentric</property>
                                                             <property name="position">0</property>
                                                             </packing>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">True</property>
                                                             <property name="position">0</property>
-                                                          </packing>
-                                                        </child>
-                                                        <child>
-                                                          <widget class="GtkAlignment" id="alignment45">
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkAlignment" id="alignment45">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="right_padding">6</property>
@@ -26613,39 +26597,39 @@ Concentric</property>
                                                             </child>
                                                             </widget>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="expand">True</property>
                                                             <property name="fill">True</property>
                                                             <property name="position">1</property>
+                                                            </packing>
+                                                            </child>
+                                                          </widget>
+                                                          <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="pack_type">end</property>
+                                                            <property name="position">2</property>
                                                           </packing>
                                                         </child>
                                                       </widget>
                                                       <packing>
                                                         <property name="expand">False</property>
                                                         <property name="fill">False</property>
-                                                        <property name="pack_type">end</property>
-                                                        <property name="position">2</property>
+                                                        <property name="position">0</property>
                                                       </packing>
                                                     </child>
-                                                  </widget>
-                                                  <packing>
-                                                    <property name="expand">False</property>
-                                                    <property name="fill">False</property>
-                                                    <property name="position">0</property>
-                                                  </packing>
-                                                </child>
-                                                <child>
-                                                  <widget class="GtkHPaned" id="hpaned_encoder">
-                                                    <property name="visible">True</property>
-                                                    <property name="can_focus">True</property>
-                                                    <property name="position">400</property>
                                                     <child>
-                                                      <widget class="GtkHBox" id="hbox74">
+                                                      <widget class="GtkHPaned" id="hpaned_encoder">
                                                         <property name="visible">True</property>
-                                                        <property name="can_focus">False</property>
+                                                        <property name="can_focus">True</property>
+                                                        <property name="position">400</property>
                                                         <child>
-                                                          <widget class="GtkNotebook" 
id="notebook_encoder_capture_main">
+                                                          <widget class="GtkHBox" id="hbox74">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
+                                                            <widget class="GtkNotebook" 
id="notebook_encoder_capture_main">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="tab_pos">bottom</property>
@@ -28535,15 +28519,15 @@ then click this button.</property>
                                                             <property name="type">tab</property>
                                                             </packing>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="expand">True</property>
                                                             <property name="fill">True</property>
                                                             <property name="position">0</property>
-                                                          </packing>
-                                                        </child>
-                                                        <child>
-                                                          <widget class="GtkVBox" id="vbox_angle_now">
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkVBox" id="vbox_angle_now">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <child>
@@ -28689,27 +28673,27 @@ then click this button.</property>
                                                             <property name="position">4</property>
                                                             </packing>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
                                                             <property name="padding">10</property>
                                                             <property name="position">1</property>
+                                                            </packing>
+                                                            </child>
+                                                          </widget>
+                                                          <packing>
+                                                            <property name="resize">True</property>
+                                                            <property name="shrink">False</property>
                                                           </packing>
                                                         </child>
-                                                      </widget>
-                                                      <packing>
-                                                        <property name="resize">True</property>
-                                                        <property name="shrink">False</property>
-                                                      </packing>
-                                                    </child>
-                                                    <child>
-                                                      <widget class="GtkVPaned" 
id="vpaned_encoder_capture_video_and_set_graph">
-                                                        <property name="visible">True</property>
-                                                        <property name="can_focus">True</property>
-                                                        <property name="position">200</property>
                                                         <child>
-                                                          <widget class="GtkAlignment" 
id="alignment_video_encoder">
+                                                          <widget class="GtkVPaned" 
id="vpaned_encoder_capture_video_and_set_graph">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">True</property>
+                                                            <property name="position">200</property>
+                                                            <child>
+                                                            <widget class="GtkAlignment" 
id="alignment_video_encoder">
                                                             <property name="width_request">275</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="border_width">4</property>
@@ -29083,14 +29067,14 @@ then click this button.</property>
                                                             </child>
                                                             </widget>
                                                             </child>
-                                                          </widget>
-                                                          <packing>
+                                                            </widget>
+                                                            <packing>
                                                             <property name="resize">True</property>
                                                             <property name="shrink">False</property>
-                                                          </packing>
-                                                        </child>
-                                                        <child>
-                                                          <widget class="GtkAlignment" id="alignment21">
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkAlignment" id="alignment21">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="top_padding">4</property>
@@ -29243,6 +29227,12 @@ then click this button.</property>
                                                             </child>
                                                             </widget>
                                                             </child>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="resize">True</property>
+                                                            <property name="shrink">False</property>
+                                                            </packing>
+                                                            </child>
                                                           </widget>
                                                           <packing>
                                                             <property name="resize">True</property>
@@ -29251,16 +29241,12 @@ then click this button.</property>
                                                         </child>
                                                       </widget>
                                                       <packing>
-                                                        <property name="resize">True</property>
-                                                        <property name="shrink">False</property>
+                                                        <property name="expand">True</property>
+                                                        <property name="fill">True</property>
+                                                        <property name="position">1</property>
                                                       </packing>
                                                     </child>
                                                   </widget>
-                                                  <packing>
-                                                    <property name="expand">True</property>
-                                                    <property name="fill">True</property>
-                                                    <property name="position">1</property>
-                                                  </packing>
                                                 </child>
                                               </widget>
                                             </child>
@@ -31407,6 +31393,7 @@ then click this button.</property>
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="show_tabs">False</property>
+                                                            <property name="show_border">False</property>
                                                             <child>
                                                             <widget class="GtkImage" 
id="image_encoder_analyze">
                                                             <property name="visible">True</property>
@@ -33911,6 +33898,12 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index eb263421..2e85f8fe 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -129,7 +129,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_encoder_capture_cancel;
 
        [Widget] Gtk.Alignment alignment_session_person;
-       //[Widget] Gtk.Box vbox_persons;
 
        [Widget] Gtk.TreeView treeview_persons;
        [Widget] Gtk.TreeView treeview_jumps;
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index aaff7c39..0f56bfea 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -5770,11 +5770,11 @@ public partial class ChronoJumpWindow
                } else { //encoderActions.ANALYZE
                        
                        //the -5 is because image is inside (is smaller than) viewport
-                       image_encoder_width = UtilGtk.WidgetWidth(scrolledwindow_image_encoder_analyze)-10;
+                       image_encoder_width = UtilGtk.WidgetWidth(scrolledwindow_image_encoder_analyze)-5;
                        if(image_encoder_width < 100)
                                image_encoder_width = 100; //Not crash R with a png height of -1 or "figure 
margins too large"
 
-                       image_encoder_height = UtilGtk.WidgetHeight(scrolledwindow_image_encoder_analyze)-10;
+                       image_encoder_height = UtilGtk.WidgetHeight(scrolledwindow_image_encoder_analyze)-5;
                        if(image_encoder_height < 100)
                                image_encoder_height = 100; //Not crash R with a png height of -1 or "figure 
margins too large"
 
diff --git a/src/gui/app1/menu.cs b/src/gui/app1/menu.cs
index 62ad103e..41539829 100644
--- a/src/gui/app1/menu.cs
+++ b/src/gui/app1/menu.cs
@@ -37,9 +37,9 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Arrow arrow_menu_show_help_up;
        [Widget] Gtk.Arrow arrow_menu_show_help_down;
        [Widget] Gtk.Button button_modes;
+       //[Widget] Gtk.HPaned hpaned_contacts_main;
        [Widget] Gtk.Viewport viewport_hpaned_contacts_main;
        [Widget] Gtk.Viewport viewport_start_modes;
-       [Widget] Gtk.Viewport viewport_menu_supertop;
        [Widget] Gtk.Viewport viewport_menu_top;
        [Widget] Gtk.Viewport viewport_menu;
        [Widget] Gtk.Viewport viewport_persons;
@@ -58,7 +58,6 @@ public partial class ChronoJumpWindow
                Gdk.Color color = UtilGtk.YELLOW;
                //Gdk.Color color = UtilGtk.BLUE_CHRONOJUMP;
                UtilGtk.ViewportColor(viewport_hpaned_contacts_main, color);
-               UtilGtk.ViewportColor(viewport_menu_supertop, color);
                UtilGtk.ViewportColor(viewport_menu_top, color);
                UtilGtk.ViewportColor(viewport_menu, color);
                //UtilGtk.ViewportColor(viewport_menu, UtilGtk.BLUE_CLEAR2);
@@ -69,7 +68,6 @@ public partial class ChronoJumpWindow
 
        private void on_button_show_menu_clicked (object o, EventArgs args)
        {
-               //TODO: this is not working, maybe use commutation buttons, so then we can uncommute all
                if(! viewport_menu.Visible)
                {
                        if(check_menu_session.Active)
@@ -88,6 +86,7 @@ public partial class ChronoJumpWindow
                        arrow_menu_show_menu_up.Visible = false;
                        arrow_menu_show_menu_down.Visible = true;
                }
+               //hpaned_contacts_main.Show();
        }
 
        private void on_check_menu_session_clicked (object o, EventArgs args)
@@ -125,6 +124,12 @@ public partial class ChronoJumpWindow
        {
                show_start_page();
                button_modes.Sensitive = false;
+
+               /*
+               //to care about viewport_menu_top being lower width allocated and a bit hidden by 
hpaned_contacts_main
+               LogB.Information("viewport_menu_top.Allocation.Width: " + 
viewport_menu_top.Allocation.Width.ToString());
+               LogB.Information("viewport_menu_top.SizeRequest.Width: " + 
viewport_menu_top.SizeRequest().Width.ToString());
+               */
        }
 
 }


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