summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2015-09-22 13:23:07 +0100
committerDavid King <amigadave@amigadave.com>2015-09-22 13:23:07 +0100
commitdaff3c4ba8bbcddd91e0fcb2b5832c16f546a9a0 (patch)
tree5463477e7b790dd9046fedb119467a2cfc58a674
parentec346d74821444506fca27dbd43ff4ab32872bfd (diff)
downloadcheese-daff3c4ba8bbcddd91e0fcb2b5832c16f546a9a0.tar.gz
Set a minimum effect actor size
This allows the effects previews to expand with the size of the window.
-rw-r--r--src/cheese-window.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 224a7b00..50e024b1 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);