forked from openlp/openlp
Corrected width of the default main output area (was wider than the screen).
bzr-revno: 2054
This commit is contained in:
commit
f25723e9ac
@ -365,7 +365,7 @@ class Renderer(object):
|
|||||||
The theme information
|
The theme information
|
||||||
"""
|
"""
|
||||||
if not theme_data.font_main_override:
|
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:
|
else:
|
||||||
return QtCore.QRect(theme_data.font_main_x, theme_data.font_main_y,
|
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)
|
theme_data.font_main_width - 1, theme_data.font_main_height - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user