Skip to content

Commit

Permalink
reduce initial line-number columns to 2 (it auto expands)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Dec 18, 2017
1 parent 39ca226 commit 665fca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linenum.c
Expand Up @@ -32,7 +32,7 @@ static gint calculate_min_number_window_width(GtkWidget *widget)
{
PangoLayout *layout;
gchar *str;
gint width, col = 4;
gint width, col = 2;

str = g_strnfill(col, 0x20);
layout = gtk_widget_create_pango_layout(widget, str);
Expand Down

0 comments on commit 665fca6

Please sign in to comment.