[pitivi] titleeditor: Fix alignment, labels and compact the UI



commit 2fae2bc04a3573ae82af8ceb5f466b412c13f3c6
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Sun Sep 2 20:29:43 2012 -0400

    titleeditor: Fix alignment, labels and compact the UI

 data/ui/titleeditor.ui |   34 ++++++++++++++++++++++------------
 1 files changed, 22 insertions(+), 12 deletions(-)
---
diff --git a/data/ui/titleeditor.ui b/data/ui/titleeditor.ui
index 84e4e58..722322b 100644
--- a/data/ui/titleeditor.ui
+++ b/data/ui/titleeditor.ui
@@ -18,7 +18,8 @@
               <object class="GtkLabel" id="info_bar_label2">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes">No title clip selected. Select to edit or create new.</property>
+                <property name="label" translatable="yes">No title clip selected. Select a clip to edit or create a new one.</property>
+                <property name="wrap">True</property>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -42,7 +43,6 @@
             <property name="border_width">5</property>
             <property name="orientation">vertical</property>
             <property name="spacing">6</property>
-            <property name="layout_style">end</property>
             <child>
               <object class="GtkButton" id="create">
                 <property name="label" translatable="yes">Create text clip</property>
@@ -157,11 +157,13 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="show_arrow">False</property>
+            <property name="icon_size">1</property>
             <child>
               <object class="GtkToggleToolButton" id="bold">
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <property name="tooltip_text" translatable="yes">Bold</property>
                 <property name="use_action_appearance">False</property>
                 <property name="label" translatable="yes">Bold</property>
                 <property name="stock_id">gtk-bold</property>
@@ -176,6 +178,7 @@
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <property name="tooltip_text" translatable="yes">Italic</property>
                 <property name="use_action_appearance">False</property>
                 <property name="label" translatable="yes">Italic</property>
                 <property name="use_underline">True</property>
@@ -191,6 +194,7 @@
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <property name="tooltip_text" translatable="yes">Underline</property>
                 <property name="use_action_appearance">False</property>
                 <property name="label" translatable="yes">Underline</property>
                 <property name="use_underline">True</property>
@@ -227,8 +231,9 @@
                     <property name="receives_default">True</property>
                     <property name="use_action_appearance">False</property>
                     <property name="font">Sans 12</property>
-                    <property name="preview_text"/>
+                    <property name="preview_text"></property>
                     <property name="show_preview_entry">False</property>
+                    <property name="title" translatable="yes">Choose a font</property>
                     <signal name="font-set" handler="_fontButtonCb" swapped="no"/>
                   </object>
                 </child>
@@ -253,7 +258,7 @@
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
                     <property name="use_action_appearance">False</property>
-                    <property name="title" translatable="yes">Pick a Font colour</property>
+                    <property name="title" translatable="yes">Pick a Font color</property>
                     <signal name="color-set" handler="_frontTextColorButtonCb" swapped="no"/>
                   </object>
                 </child>
@@ -278,7 +283,7 @@
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
                     <property name="use_action_appearance">False</property>
-                    <property name="title" translatable="yes">Pick a Font Foreground Colour</property>
+                    <property name="title" translatable="yes">Pick a Font Foreground Color</property>
                     <property name="color">#ffffffffffff</property>
                     <signal name="color-set" handler="_backTextColorButtonCb" swapped="no"/>
                   </object>
@@ -305,7 +310,7 @@
                     <property name="receives_default">True</property>
                     <property name="use_action_appearance">False</property>
                     <property name="use_alpha">True</property>
-                    <property name="title" translatable="yes">Pick a Background Colour</property>
+                    <property name="title" translatable="yes">Pick a Background Color</property>
                     <property name="color">#ffffffffffff</property>
                     <signal name="color-set" handler="_backgroundColorButtonCb" swapped="no"/>
                   </object>
@@ -357,6 +362,10 @@
           <object class="GtkTextView" id="textview1">
             <property name="visible">True</property>
             <property name="can_focus">True</property>
+            <property name="margin_left">12</property>
+            <property name="margin_right">12</property>
+            <property name="margin_top">12</property>
+            <property name="margin_bottom">12</property>
             <property name="wrap_mode">word</property>
             <signal name="focus-in-event" handler="_focusedTextView" swapped="no"/>
             <signal name="focus-out-event" handler="_unfocusedTextView" swapped="no"/>
@@ -379,7 +388,7 @@
                   <object class="GtkAlignment" id="alignment2">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="left_padding">12</property>
+                    <property name="left_padding">24</property>
                     <child>
                       <object class="GtkGrid" id="box4">
                         <property name="visible">True</property>
@@ -389,8 +398,8 @@
                           <object class="GtkLabel" id="label6">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
-                            <property name="yalign">0.2800000011920929</property>
-                            <property name="label" translatable="yes">Horizontal alignment</property>
+                            <property name="xalign">0</property>
+                            <property name="label" translatable="yes">Horizontal alignment:</property>
                           </object>
                           <packing>
                             <property name="left_attach">0</property>
@@ -403,7 +412,8 @@
                           <object class="GtkLabel" id="label2">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
-                            <property name="label" translatable="yes">Vertical alignment</property>
+                            <property name="xalign">0</property>
+                            <property name="label" translatable="yes">Vertical alignment:</property>
                           </object>
                           <packing>
                             <property name="left_attach">0</property>
@@ -494,8 +504,8 @@
               <object class="GtkLabel" id="label7">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">0.38999998569488525</property>
-                <property name="label" translatable="yes">Settings</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes">Advanced positioning</property>
               </object>
             </child>
           </object>



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