[pitivi] data: Fixed 3 Point Colour balance split view



commit 4304b27fb4b5a65aee016021c2dbe0f8d88dc5ce
Author: kiren <kirenpillay1 gmail com>
Date:   Thu Feb 6 22:54:36 2020 +0200

    data: Fixed 3 Point Colour balance split view
    
    Used GtkSwitch instead of GtkCheckButton which is not yet supported by
    our `make_widget_wrapper` function.
    
    Fixes #2373

 .../frei0r-filter-3-point-color-balance.ui         | 107 +++++++++++++++------
 1 file changed, 78 insertions(+), 29 deletions(-)
---
diff --git a/data/ui/customwidgets/frei0r-filter-3-point-color-balance.ui 
b/data/ui/customwidgets/frei0r-filter-3-point-color-balance.ui
index 8977bbe9..676867bc 100644
--- a/data/ui/customwidgets/frei0r-filter-3-point-color-balance.ui
+++ b/data/ui/customwidgets/frei0r-filter-3-point-color-balance.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.0 -->
+<!-- Generated with glade 3.22.1 -->
 <interface>
   <requires lib="gtk+" version="3.20"/>
   <object class="GtkAdjustment" id="adjustment1">
@@ -213,34 +213,6 @@
         <property name="width">3</property>
       </packing>
     </child>
-    <child>
-      <object class="GtkCheckButton" id="frei0r-filter-3-point-color-balance::split-preview">
-        <property name="label" translatable="yes">Split preview</property>
-        <property name="visible">True</property>
-        <property name="can_focus">True</property>
-        <property name="receives_default">False</property>
-        <property name="draw_indicator">True</property>
-      </object>
-      <packing>
-        <property name="left_attach">1</property>
-        <property name="top_attach">5</property>
-        <property name="width">3</property>
-      </packing>
-    </child>
-    <child>
-      <object class="GtkCheckButton" id="frei0r-filter-3-point-color-balance::source-image-on-left-side">
-        <property name="label" translatable="yes">Source image on left</property>
-        <property name="visible">True</property>
-        <property name="can_focus">True</property>
-        <property name="receives_default">False</property>
-        <property name="draw_indicator">True</property>
-      </object>
-      <packing>
-        <property name="left_attach">1</property>
-        <property name="top_attach">6</property>
-        <property name="width">3</property>
-      </packing>
-    </child>
     <child>
       <object class="GtkBox" id="rgb_label_grid">
         <property name="visible">True</property>
@@ -474,6 +446,83 @@
         <property name="top_attach">0</property>
       </packing>
     </child>
+    <child>
+      <object class="GtkGrid">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <child>
+          <object class="GtkSwitch" id="frei0r-filter-3-point-color-balance::split-preview">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkSwitch" id="frei0r-filter-3-point-color-balance::source-image-on-left-side">
+            <property name="name">test</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="tooltip_text" translatable="yes">thid d
+</property>
+            <property name="margin_top">4</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkLabel">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="halign">start</property>
+            <property name="margin_left">19</property>
+            <property name="label" translatable="yes">Split-preview</property>
+          </object>
+          <packing>
+            <property name="left_attach">1</property>
+            <property name="top_attach">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkLabel">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="halign">start</property>
+            <property name="margin_left">19</property>
+            <property name="label" translatable="yes">Source image on Left</property>
+            <property name="xalign">0.5</property>
+          </object>
+          <packing>
+            <property name="left_attach">1</property>
+            <property name="top_attach">1</property>
+          </packing>
+        </child>
+      </object>
+      <packing>
+        <property name="left_attach">1</property>
+        <property name="top_attach">6</property>
+        <property name="width">3</property>
+      </packing>
+    </child>
+    <child>
+      <placeholder/>
+    </child>
+    <child>
+      <placeholder/>
+    </child>
+    <child>
+      <placeholder/>
+    </child>
+    <child>
+      <placeholder/>
+    </child>
+    <child>
+      <placeholder/>
+    </child>
     <child>
       <placeholder/>
     </child>


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