]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix an issue with column width in the audio treeview
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 23 Nov 2009 15:43:31 +0000 (15:43 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 23 Nov 2009 15:43:31 +0000 (15:43 +0000)
on some displays, the columns were too wide and caused horiz scrolling

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2960 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/main.c

index 421eac1c2f7a6e61ef6e970566a8c1890860f5a6..e92f974d50234baf4e488e26cfe88782a9b9acc5 100644 (file)
@@ -349,25 +349,25 @@ bind_audio_tree_model (signal_user_data_t *ud)
        column = gtk_tree_view_column_new_with_attributes(
                                                                        _("Codec"), cell, "text", 1, NULL);
     gtk_tree_view_append_column(treeview, GTK_TREE_VIEW_COLUMN(column));
-       gtk_tree_view_column_set_min_width (column, 120);
+       gtk_tree_view_column_set_min_width (column, 110);
 
        cell = gtk_cell_renderer_text_new();
        column = gtk_tree_view_column_new_with_attributes(
                                                                        _("Bitrate"), cell, "text", 2, NULL);
     gtk_tree_view_append_column(treeview, GTK_TREE_VIEW_COLUMN(column));
-       gtk_tree_view_column_set_min_width (column, 80);
+       gtk_tree_view_column_set_min_width (column, 50);
 
        cell = gtk_cell_renderer_text_new();
        column = gtk_tree_view_column_new_with_attributes(
                                                                        _("Sample Rate"), cell, "text", 3, NULL);
     gtk_tree_view_append_column(treeview, GTK_TREE_VIEW_COLUMN(column));
-       gtk_tree_view_column_set_min_width (column, 115);
+       gtk_tree_view_column_set_min_width (column, 100);
 
        cell = gtk_cell_renderer_text_new();
        column = gtk_tree_view_column_new_with_attributes(
                                                                        _("Mix"), cell, "text", 4, NULL);
     gtk_tree_view_append_column(treeview, GTK_TREE_VIEW_COLUMN(column));
-       gtk_tree_view_column_set_min_width (column, 150);
+       gtk_tree_view_column_set_min_width (column, 115);
 
        cell = gtk_cell_renderer_text_new();
        column = gtk_tree_view_column_new_with_attributes(