Button: maximum icon size option

This commit is contained in:
o9000
2017-03-25 14:53:21 +01:00
parent dfd735956c
commit fc883a5dd8
13 changed files with 726 additions and 662 deletions

View File

@@ -4485,6 +4485,18 @@ void create_button(GtkWidget *notebook, int i)
gtk_table_attach(GTK_TABLE(table), button->button_centered, col, col+1, row, row+1, GTK_FILL, 0, 0, 0);
col++;
row++, col = 2;
label = gtk_label_new(_("Maximum icon size"));
gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
gtk_widget_show(label);
gtk_table_attach(GTK_TABLE(table), label, col, col+1, row, row+1, GTK_FILL, 0, 0, 0);
col++;
button->button_max_icon_size = gtk_spin_button_new_with_range(0, 500, 1);
gtk_widget_show(button->button_max_icon_size);
gtk_table_attach(GTK_TABLE(table), button->button_max_icon_size, col, col+1, row, row+1, GTK_FILL, 0, 0, 0);
col++;
change_paragraph(parent);
}