reduce initial line-number columns to 2 (it auto expands)
This commit is contained in:
parent
39ca226b86
commit
665fca6d70
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user