forked from openlp/openlp
Corrected width of the default main output area (was wider than the screen).
This commit is contained in:
parent
58db77a575
commit
dd001e15ab
|
@ -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