[cheese] Set a minimum effect actor size



commit daff3c4ba8bbcddd91e0fcb2b5832c16f546a9a0
Author: David King <amigadave amigadave com>
Date:   Tue Sep 22 13:23:07 2015 +0100

    Set a minimum effect actor size
    
    This allows the effects previews to expand with the size of the window.

 src/cheese-window.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 224a7b0..50e024b 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -1149,6 +1149,8 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
         texture.content_gravity = Clutter.ContentGravity.RESIZE_ASPECT;
         box.add_child (texture);
         box.reactive = true;
+        box.min_height = 40;
+        box.min_width = 50;
         var tap = new Clutter.TapAction ();
         box.add_action (tap);
         tap.tap.connect (on_selected_effect_change);


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