Skip to content

Commit

Permalink
Set preview font size smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
amka committed Jun 28, 2020
1 parent d4e5ede commit f2e8c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion norka/widgets/document_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f2e8c07

Please sign in to comment.