Corrected width of the default main output area (was wider than the screen).

bzr-revno: 2054
This commit is contained in:
Erik Lundin 2012-09-08 19:49:15 +02:00 committed by Raoul Snyman
commit f25723e9ac
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ class Renderer(object):
The theme information
"""
if not theme_data.font_main_override:
return QtCore.QRect(10, 0, self.width, self.footer_start)
return QtCore.QRect(10, 0, self.width - 20, self.footer_start)
else:
return QtCore.QRect(theme_data.font_main_x, theme_data.font_main_y,
theme_data.font_main_width - 1, theme_data.font_main_height - 1)