From 5e088abfc28697a2b3a63d7fa9d33995d7d0a887 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 6 Sep 2009 13:13:09 +0100 Subject: [PATCH] Change Layout formula --- openlp/core/lib/settingsmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/lib/settingsmanager.py b/openlp/core/lib/settingsmanager.py index d14d341b4..3bd32a753 100644 --- a/openlp/core/lib/settingsmanager.py +++ b/openlp/core/lib/settingsmanager.py @@ -28,8 +28,8 @@ class SettingsManager(object): self.width = self.screen[u'size'].width() self.height = self.screen[u'size'].height() self.mainwindow_height = self.height * 0.8 - self.mainwindow_docbars = self.width / 3 + self.mainwindow_docbars = self.width / 5 if self.mainwindow_docbars > 300: self.mainwindow_docbars = 300 - self.mainwindow_slidecontroller = (self.width - (self.mainwindow_docbars * 2 ) / 2) / 2 + self.mainwindow_slidecontroller = (self.width - (self.mainwindow_docbars * 3 ) / 2) / 2 print self.width, self.mainwindow_docbars, self.mainwindow_slidecontroller