job_status: fix screen overflow on small screens

This commit is contained in:
alfrix 2023-07-19 15:01:53 -03:00 committed by Alfredo Monclus
parent 72c6bdfe33
commit ae03e7d55d

View File

@ -156,7 +156,7 @@ class JobStatusPanel(ScreenPanel):
self.buttons.update(buttons)
self.labels['temp_grid'] = Gtk.Grid()
nlimit = 2 if self._screen.width <= 480 else 3
nlimit = 2 if self._screen.width <= 500 else 3
n = 0
self.buttons['extruder'] = {}
if self._printer.get_tools():