From e5658d67a38612c727091d7e91f9477333047870 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Mon, 8 Aug 2011 16:15:05 +0100 Subject: 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 --- src/empathy-call-window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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, -- cgit v1.2.3