reduce initial line-number columns to 2 (it auto expands)

This commit is contained in:
hoijui 2017-12-18 20:03:52 +01:00
parent 39ca226b86
commit 665fca6d70

View File

@ -32,7 +32,7 @@ static gint calculate_min_number_window_width(GtkWidget *widget)
{ {
PangoLayout *layout; PangoLayout *layout;
gchar *str; gchar *str;
gint width, col = 4; gint width, col = 2;
str = g_strnfill(col, 0x20); str = g_strnfill(col, 0x20);
layout = gtk_widget_create_pango_layout(widget, str); layout = gtk_widget_create_pango_layout(widget, str);