From 9031f6296207d2f0146195bbdfcd3bc4973b6211 Mon Sep 17 00:00:00 2001 From: gugus Date: Wed, 11 Jan 2012 12:58:39 +0100 Subject: [PATCH] The journal is now in the center of the screen. --- apps/openmw/mwgui/journalwindow.cpp | 3 ++- .../openmw_resources/openmw_journal_layout.xml | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/openmw/mwgui/journalwindow.cpp b/apps/openmw/mwgui/journalwindow.cpp index 9b85e0e0c4..7c09c3220c 100644 --- a/apps/openmw/mwgui/journalwindow.cpp +++ b/apps/openmw/mwgui/journalwindow.cpp @@ -78,7 +78,8 @@ MWGui::JournalWindow::JournalWindow (WindowManager& parWindowManager) : WindowBase("openmw_journal_layout.xml", parWindowManager) , lastPos(0) { - setCoord(0,0,498, 342); + //setCoord(0,0,498, 342); + center(); getWidget(mLeftTextWidget, "LeftText"); getWidget(mRightTextWidget, "RightText"); diff --git a/extern/mygui_3.0.1/openmw_resources/openmw_journal_layout.xml b/extern/mygui_3.0.1/openmw_resources/openmw_journal_layout.xml index a9cf42fdd3..1d9a11dd87 100644 --- a/extern/mygui_3.0.1/openmw_resources/openmw_journal_layout.xml +++ b/extern/mygui_3.0.1/openmw_resources/openmw_journal_layout.xml @@ -1,13 +1,18 @@  + + - + - + + + +