[gtranslator/merge-requests/61: 9/20] Fix search-and-replace-bar widget's position



commit e51e6897d3209e0e9acacb63a0e1909d53eecb17
Author: Priyanka Saggu <priyankasggu11929 gmail com>
Date:   Wed Jan 8 21:42:26 2020 +0530

    Fix search-and-replace-bar widget's position

 src/gtr-tab.ui | 201 ++++++++++++++++++++++++++++-----------------------------
 1 file changed, 100 insertions(+), 101 deletions(-)
---
diff --git a/src/gtr-tab.ui b/src/gtr-tab.ui
index b037ecfd..0cce2093 100644
--- a/src/gtr-tab.ui
+++ b/src/gtr-tab.ui
@@ -6,103 +6,6 @@
       <property name="visible">True</property>
       <property name="can_focus">False</property>
       <property name="orientation">vertical</property>
-
-      <child>
-         <object class="GtkEventBox" id="progress_eventbox">
-            <property name="visible">True</property>
-            <child>
-               <object class="GtkBox" id="progress_box">
-                  <property name="visible">True</property>
-                  <property name="can_focus">False</property>
-                  <property name="orientation">vertical</property>
-                  <child>
-                     <object class="GtkRevealer" id="progress_revealer">
-                        <property name="visible">True</property>
-                        <property name="reveal_child">True</property>
-                        <child>
-                           <object class="GtkBox">
-                              <property name="visible">True</property>
-                              <property name="can_focus">False</property>
-                              <property name="margin_left">6</property>
-                              <property name="margin_right">6</property>
-                              <property name="margin_top">6</property>
-                              <property name="margin_bottom">6</property>
-                              <property name="orientation">horizontal</property>
-                              <property name="homogeneous">True</property>
-                              <child>
-                                 <object class="GtkLabel" id="progress_percentage">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="label">translated: 0.00%</property>
-                                    <property name="xalign">0.5</property>
-                                 </object>
-                                 <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">True</property>
-                                    <property name="position">0</property>
-                                 </packing>
-                              </child>
-                              <child>
-                                 <object class="GtkLabel" id="progress_trans">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="label">Translated: 0</property>
-                                    <property name="xalign">0.5</property>
-                                    <style>
-                                       <class name="progress_trans"/>
-                                    </style>
-                                 </object>
-                                 <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">True</property>
-                                    <property name="position">1</property>
-                                 </packing>
-                              </child>
-                              <child>
-                                 <object class="GtkLabel" id="progress_fuzzy">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="label">fuzzy: 0</property>
-                                    <property name="xalign">0.5</property>
-                                    <style>
-                                       <class name="progress_fuzzy"/>
-                                    </style>
-                                 </object>
-                                 <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">True</property>
-                                    <property name="position">2</property>
-                                 </packing>
-                              </child>
-                              <child>
-                                 <object class="GtkLabel" id="progress_untrans">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="label">untranslated: 0</property>
-                                    <property name="xalign">0.5</property>
-                                    <style>
-                                       <class name="progress_untranslated"/>
-                                    </style>
-                                 </object>
-                                 <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">True</property>
-                                    <property name="position">3</property>
-                                 </packing>
-                              </child>
-                           </object>
-                        </child>
-                     </object>
-                  </child>
-               </object>
-            </child>
-         </object>
-         <packing>
-            <property name="expand">False</property>
-            <property name="fill">False</property>
-            <property name="position">1</property>
-         </packing>
-      </child>
       <child>
          <object class="GtkOverlay" id="overlay">
             <property name="visible">True</property>
@@ -126,10 +29,8 @@
                <packing>
                   <property name="expand">True</property>
                   <property name="fill">False</property>
-                  <property name="position">2</property>
+                  <property name="position">0</property>
                </packing>
-            </child>
-         </object>
       </child>
       <child>
          <object class="GtkPaned" id="hbox">
@@ -319,7 +220,105 @@
          <packing>
             <property name="expand">True</property>
             <property name="fill">True</property>
-            <property name="position">0</property>
+            <property name="position">1</property>
+         </packing>
+      </child>
+    </object>
+  </child>
+     <child >
+         <object class="GtkEventBox" id="progress_eventbox">
+            <property name="visible">True</property>
+            <child>
+               <object class="GtkBox" id="progress_box">
+                  <property name="visible">True</property>
+                  <property name="can_focus">False</property>
+                  <property name="orientation">vertical</property>
+                  <child>
+                     <object class="GtkRevealer" id="progress_revealer">
+                        <property name="visible">True</property>
+                        <property name="reveal_child">True</property>
+                        <child>
+                           <object class="GtkBox">
+                              <property name="visible">True</property>
+                              <property name="can_focus">False</property>
+                              <property name="margin_left">6</property>
+                              <property name="margin_right">6</property>
+                              <property name="margin_top">6</property>
+                              <property name="margin_bottom">6</property>
+                              <property name="orientation">horizontal</property>
+                              <property name="homogeneous">True</property>
+                              <child>
+                                 <object class="GtkLabel" id="progress_percentage">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">False</property>
+                                    <property name="label">translated: 0.00%</property>
+                                    <property name="xalign">0.5</property>
+                                 </object>
+                                 <packing>
+                                    <property name="expand">False</property>
+                                    <property name="fill">True</property>
+                                    <property name="position">0</property>
+                                 </packing>
+                              </child>
+                              <child>
+                                 <object class="GtkLabel" id="progress_trans">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">False</property>
+                                    <property name="label">Translated: 0</property>
+                                    <property name="xalign">0.5</property>
+                                    <style>
+                                       <class name="progress_trans"/>
+                                    </style>
+                                 </object>
+                                 <packing>
+                                    <property name="expand">False</property>
+                                    <property name="fill">True</property>
+                                    <property name="position">1</property>
+                                 </packing>
+                              </child>
+                              <child>
+                                 <object class="GtkLabel" id="progress_fuzzy">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">False</property>
+                                    <property name="label">fuzzy: 0</property>
+                                    <property name="xalign">0.5</property>
+                                    <style>
+                                       <class name="progress_fuzzy"/>
+                                    </style>
+                                 </object>
+                                 <packing>
+                                    <property name="expand">False</property>
+                                    <property name="fill">True</property>
+                                    <property name="position">2</property>
+                                 </packing>
+                              </child>
+                              <child>
+                                 <object class="GtkLabel" id="progress_untrans">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">False</property>
+                                    <property name="label">untranslated: 0</property>
+                                    <property name="xalign">0.5</property>
+                                    <style>
+                                       <class name="progress_untranslated"/>
+                                    </style>
+                                 </object>
+                                 <packing>
+                                    <property name="expand">False</property>
+                                    <property name="fill">True</property>
+                                    <property name="position">2</property>
+                                 </packing>
+                              </child>
+                           </object>
+                        </child>
+                     </object>
+                  </child>
+               </object>
+            </child>
+         </object>
+         <packing>
+            <property name="expand">False</property>
+            <property name="fill">False</property>
+            <property name="position">1</property>
          </packing>
       </child>
    </template>


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