[pitivi] Fix the text wrapping in the rendering progress dialog



commit 4c6e1375232b752e3c522d18b0c6b076f8e136d8
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun Sep 28 17:21:03 2014 -0400

    Fix the text wrapping in the rendering progress dialog
    
    The trick is to:
    - Make the window resizeable and set a default width for it
    - Set the "width_chars" property on the label
    
    Fixes bug #728218

 data/ui/renderingprogress.ui |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/data/ui/renderingprogress.ui b/data/ui/renderingprogress.ui
index 9c1dcbe..70487bf 100644
--- a/data/ui/renderingprogress.ui
+++ b/data/ui/renderingprogress.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.1 -->
+<!-- Generated with glade 3.18.3 -->
 <interface>
   <requires lib="gtk+" version="3.10"/>
   <object class="GtkImage" id="cancel_icon">
@@ -26,7 +26,6 @@
     <property name="can_focus">False</property>
     <property name="border_width">12</property>
     <property name="title" translatable="yes">Rendering</property>
-    <property name="resizable">False</property>
     <property name="modal">True</property>
     <property name="window_position">center-on-parent</property>
     <property name="default_width">400</property>
@@ -38,6 +37,23 @@
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <property name="spacing">12</property>
+        <child>
+          <object class="GtkLabel" id="informational_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="opacity">0.69999999999999996</property>
+            <property name="xalign">0</property>
+            <property name="label" translatable="yes">&lt;small&gt;This process may take a long time 
depending on the selected codecs, the image resolution, your computer's processing power, applied effects and 
the length of your movie.&lt;/small&gt;</property>
+            <property name="use_markup">True</property>
+            <property name="wrap">True</property>
+            <property name="width_chars">50</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
         <child internal-child="action_area">
           <object class="GtkButtonBox" id="dialog-action_area2">
             <property name="visible">True</property>
@@ -116,22 +132,6 @@
           </packing>
         </child>
         <child>
-          <object class="GtkLabel" id="informational_label">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="opacity">0.69999999999999996</property>
-            <property name="xalign">0</property>
-            <property name="label" translatable="yes">&lt;small&gt;This process may take a long time 
depending on the selected codecs, the image resolution, your computer's processing power, applied effects and 
the length of your movie.&lt;/small&gt;</property>
-            <property name="use_markup">True</property>
-            <property name="wrap">True</property>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
-        <child>
           <object class="GtkProgressBar" id="progressbar">
             <property name="visible">True</property>
             <property name="can_focus">False</property>


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