refactor: thumb log message cut decimals

This commit is contained in:
Alfredo Monclus
2024-11-25 13:38:10 -03:00
parent e2ac3f1ef1
commit 3a372b74d3

View File

@@ -69,7 +69,7 @@ class Panel(ScreenPanel):
self.labels['path'] = Gtk.Label(label=self.loading_msg, vexpand=True, no_show_all=True)
self.labels['path'].show()
self.thumbsize = self._gtk.img_scale * self._gtk.button_image_scale * 2.5
logging.info(f"Thumbsize: {self.thumbsize}")
logging.info(f"Thumbsize: {self.thumbsize:.1f}")
self.flowbox = Gtk.FlowBox(selection_mode=Gtk.SelectionMode.NONE,
column_spacing=0, row_spacing=0)