aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-08 23:15:05 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-15 19:14:54 +0800
commite5658d67a38612c727091d7e91f9477333047870 (patch)
treefecb0edf5999df0693e6cfd8b55b86604e60b278 /src
parentc5426c1a22ed0f16bd742bda88fb8a6740f2c9ee (diff)
downloadgsoc2013-empathy-e5658d67a38612c727091d7e91f9477333047870.tar
gsoc2013-empathy-e5658d67a38612c727091d7e91f9477333047870.tar.gz
gsoc2013-empathy-e5658d67a38612c727091d7e91f9477333047870.tar.bz2
gsoc2013-empathy-e5658d67a38612c727091d7e91f9477333047870.tar.lz
gsoc2013-empathy-e5658d67a38612c727091d7e91f9477333047870.tar.xz
gsoc2013-empathy-e5658d67a38612c727091d7e91f9477333047870.tar.zst
gsoc2013-empathy-e5658d67a38612c727091d7e91f9477333047870.zip
CallWindow: add top and right margin to the preview container
So that when it's placed on another corner, it still has some margin. https://bugzilla.gnome.org/show_bug.cgi?id=656268
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index ce0483099..a734b5b5a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -549,12 +549,12 @@ create_video_preview (EmpathyCallWindow *self)
0.0);
/* Add a little offset to the video preview */
- layout = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_END,
- CLUTTER_BIN_ALIGNMENT_START);
+ layout = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER,
+ CLUTTER_BIN_ALIGNMENT_CENTER);
priv->video_preview = clutter_box_new (layout);
clutter_actor_set_size (priv->video_preview,
- SELF_VIDEO_SECTION_WIDTH + SELF_VIDEO_SECTION_MARGIN,
- SELF_VIDEO_SECTION_HEIGTH + SELF_VIDEO_SECTION_MARGIN +
+ SELF_VIDEO_SECTION_WIDTH + 2 * SELF_VIDEO_SECTION_MARGIN,
+ SELF_VIDEO_SECTION_HEIGTH + 2 * SELF_VIDEO_SECTION_MARGIN +
FLOATING_TOOLBAR_HEIGHT + FLOATING_TOOLBAR_SPACING);
layout_center = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER,