~openlp-dev/openlp/webengine-migrate

« back to all changes in this revision

Viewing changes to openlp/core/display/render.py

  • Committer: Tomas Groth
  • Date: 2019-02-13 19:41:10 UTC
  • Revision ID: tomasgroth@yahoo.dk-20190213194110-wfx64u4sk4ahy12w
Fix more tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
446
446
        self.theme_height = 0
447
447
        self.theme_level = ThemeLevel.Global
448
448
 
 
449
    def set_theme_level(self, theme_level):
 
450
        """
 
451
        Sets the theme level.
 
452
 
 
453
        :param theme_level: The theme level to be used.
 
454
        """
 
455
        self.theme_level = theme_level
 
456
 
449
457
    def calculate_line_count(self):
450
458
        """
451
459
        Calculate the number of lines that fits on one slide