diff options
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -189,7 +189,8 @@ sub run_treeview_dialog { $detail_list->append_column(my $col_nm = Gtk2::TreeViewColumn->new_with_attributes(N("Package"), Gtk2::CellRendererText->new, 'text' => $pkg_columns{short_name})); $detail_list->append_column(my $col_ver = Gtk2::TreeViewColumn->new_with_attributes(N("Version"), Gtk2::CellRendererText->new, 'text' => $pkg_columns{version})); $detail_list->append_column(my $col_arch = Gtk2::TreeViewColumn->new_with_attributes(N("Arch"), Gtk2::CellRendererText->new, 'text' => $pkg_columns{arch})); - #$_->set_sizing('fixed') foreach $col_nm, $col_ver, $col_arch; + $_->set_sizing('autosize') foreach $col_nm, $col_ver, $col_arch; + $nm_rdr->set_property('width-chars', '20'); $detail_list_model->set_sort_column_id(0, 'ascending'); $detail_list->set_rules_hint(1); #$detail_list->set_fixed_height_mode(1); |