From a99f74702ed26f9c3bacfca5ed9688816c618132 Mon Sep 17 00:00:00 2001
From: scrawl <scrawl@baseoftrash.de>
Date: Fri, 11 May 2012 09:57:43 +0200
Subject: [PATCH] workaround for a white square that appears in menubook_next
 texture

---
 files/mygui/openmw_book_layout.xml    | 2 +-
 files/mygui/openmw_journal_layout.xml | 2 +-
 files/mygui/openmw_resources.xml      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/files/mygui/openmw_book_layout.xml b/files/mygui/openmw_book_layout.xml
index 07ebf5030a..6c708cdd3d 100644
--- a/files/mygui/openmw_book_layout.xml
+++ b/files/mygui/openmw_book_layout.xml
@@ -7,7 +7,7 @@
     <Widget type="ImageBox" skin="ImageBox" position_real="0 0 1 1" align="Top|Right" name="BookImage">     
         <Property key="ImageTexture" value="textures\tx_menubook.dds"/>
 
-        <Widget type="Button" skin="ButtonImage" position="251 220 96 24" name="NextPageBTN">
+        <Widget type="Button" skin="ButtonImage" position="251 220 57 24" name="NextPageBTN">
             <Property key="ImageResource" value="MenuBook_Next"/>
         </Widget>
         <Widget type="Button" skin="ButtonImage" position="165 220 96 24" name="PrevPageBTN">
diff --git a/files/mygui/openmw_journal_layout.xml b/files/mygui/openmw_journal_layout.xml
index 75bb5eea17..e4c3c7e472 100644
--- a/files/mygui/openmw_journal_layout.xml
+++ b/files/mygui/openmw_journal_layout.xml
@@ -7,7 +7,7 @@
     <Widget type="ImageBox" skin="ImageBox" position_real="0 0 1 1" align="Top|Right" name="JImage">     
         <Property key="ImageTexture" value="textures\tx_menubook.dds"/>
 
-        <Widget type="Button" skin="ButtonImage" position="370 220 96 24" name="NextPageBTN">
+        <Widget type="Button" skin="ButtonImage" position="370 220 57 24" name="NextPageBTN">
             <Property key="ImageResource" value="MenuBook_Next"/>
         </Widget>
         <Widget type="Button" skin="ButtonImage" position="80 220 96 24" name="PrevPageBTN">
diff --git a/files/mygui/openmw_resources.xml b/files/mygui/openmw_resources.xml
index 455765aadf..b2bd90d105 100644
--- a/files/mygui/openmw_resources.xml
+++ b/files/mygui/openmw_resources.xml
@@ -72,7 +72,7 @@
     </Resource>
 
     <Resource type="ResourceImageSet" name="MenuBook_Next">
-        <Group name="States" texture="mwgui1" size="96 24">
+        <Group name="States" texture="mwgui1" size="57 24">
             <Index name="disabled">
                 <Frame point="256 32"/>
             </Index>