[cheese] Fix resizing and scaling of video preview
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Fix resizing and scaling of video preview
- Date: Tue, 22 Sep 2015 12:31:54 +0000 (UTC)
commit 8c618eab2b32a7551ad5ab86174d863f81ffcc19
Author: David King <amigadave amigadave com>
Date: Tue Sep 22 13:31:08 2015 +0100
Fix resizing and scaling of video preview
Allow the preview to expand, and set a reasonable minimum height and
width.
data/cheese-viewport.json | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/cheese-viewport.json b/data/cheese-viewport.json
index 312a2b6..cf03fce 100644
--- a/data/cheese-viewport.json
+++ b/data/cheese-viewport.json
@@ -4,7 +4,11 @@
"type": "ClutterActor",
"child::x-align": "CLUTTER_BIN_ALIGNMENT_CENTER",
"child::y-align": "CLUTTER_BIN_ALIGNMENT_CENTER",
- "content-gravity": "CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT"
+ "content-gravity": "CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT",
+ "x-expand": true,
+ "y-expand": true,
+ "min-height":75,
+ "min-width":100
},
{
"id": "background",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]