From f2e8c0733ea3497acde3d0a0ba2af9e6ae9f6201 Mon Sep 17 00:00:00 2001 From: Andrey Maksimov Date: Sun, 28 Jun 2020 20:19:17 +0300 Subject: [PATCH] Set preview font size smaller --- norka/widgets/document_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/norka/widgets/document_grid.py b/norka/widgets/document_grid.py index e139732..7097d2f 100644 --- a/norka/widgets/document_grid.py +++ b/norka/widgets/document_grid.py @@ -86,7 +86,7 @@ def reload_items(self, sender: Gtk.Widget = None) -> None: if self.selected_path: self.view.select_path(self.selected_path) - def gen_preview(self, text, size=12, opacity=1) -> Pixbuf: + def gen_preview(self, text, size=9, opacity=1) -> Pixbuf: pix = Pixbuf.new(Colorspace.RGB, True, 8, 60, 80) surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, pix.get_width(), pix.get_height()) context = cairo.Context(surface)