diff options
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -190,12 +190,12 @@ sub run_treeview_dialog { $detail_list_model = Gtk2::ListStore->new("Glib::String", "Gtk2::Gdk::Pixbuf", "Glib::String", "Glib::Boolean"); $detail_list = Gtk2::TreeView->new_with_model($detail_list_model); $detail_list->append_column(my $col1 = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererToggle->new, active => $pkg_columns{selected})); - $col1->set_fixed_width(20); # w/o this the toggle cells are not displayed + $col1->set_fixed_width(34); # w/o this the toggle cells are not displayed $col1->set_sizing('fixed'); $detail_list->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, my $rdr = Gtk2::CellRendererPixbuf->new, 'pixbuf' => $pkg_columns{state_icon})); - $rdr->set_fixed_size(42, 24); - $pixcolumn->set_fixed_width(48); # w/o this the pixbuf cells is empty + $rdr->set_fixed_size(34, 24); + $pixcolumn->set_fixed_width(34); # w/o this the pixbuf cells is empty $pixcolumn->set_sizing('fixed'); $detail_list->append_column(my $col = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => $pkg_columns{text})); $col->set_sizing('fixed'); |