job_status: fix issue with thumbnail at low resolutions
This commit is contained in:
parent
1b2a6b872c
commit
3067651f8b
@ -765,7 +765,7 @@ class Panel(ScreenPanel):
|
|||||||
width = self._screen.width * 0.9
|
width = self._screen.width * 0.9
|
||||||
height = self._screen.height / 4
|
height = self._screen.height / 4
|
||||||
else:
|
else:
|
||||||
width = self._screen.width / 3
|
width = self._screen.width * .25
|
||||||
height = self._gtk.content_height * 0.47
|
height = self._gtk.content_height * 0.47
|
||||||
pixbuf = self.get_file_image(self.filename, width, height)
|
pixbuf = self.get_file_image(self.filename, width, height)
|
||||||
logging.debug(self.filename)
|
logging.debug(self.filename)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user