[pitivi] title_: Make them positionned 'absolute' by default
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] title_: Make them positionned 'absolute' by default
- Date: Thu, 28 Jul 2016 21:54:53 +0000 (UTC)
commit 21171264837a03b94aa3bebcba3a78dfbf68bb46
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Jul 28 17:27:53 2016 -0400
title_: Make them positionned 'absolute' by default
Now that we can position them graphically in the viewer, this is what user will expect
Reviewed-by: Alex Băluț <alexandru balut gmail com>
Differential Revision: https://phabricator.freedesktop.org/D1223
pitivi/titleeditor.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/titleeditor.py b/pitivi/titleeditor.py
index 03faeb8..bee5d95 100644
--- a/pitivi/titleeditor.py
+++ b/pitivi/titleeditor.py
@@ -35,8 +35,8 @@ from pitivi.utils.ui import gdk_rgba_to_argb
FOREGROUND_DEFAULT_COLOR = 0xFFFFFFFF # White
BACKGROUND_DEFAULT_COLOR = 0x00000000 # Transparent
DEFAULT_FONT_DESCRIPTION = "Sans 36"
-DEFAULT_VALIGNMENT = GES.TextVAlign.CENTER
-DEFAULT_HALIGNMENT = GES.TextHAlign.CENTER
+DEFAULT_VALIGNMENT = GES.TextVAlign.ABSOLUTE
+DEFAULT_HALIGNMENT = GES.TextHAlign.ABSOLUTE
class TitleEditor(Loggable):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]