From 31cc61c2752a8b05f433aa08fc829d40248be27a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 20 Mar 2007 09:38:52 +0000 Subject: (run_treeview_dialog) adjust somewhat the margins around the checkboxes --- rpmdrake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpmdrake b/rpmdrake index 55fdf82b..443ae09a 100755 --- a/rpmdrake +++ b/rpmdrake @@ -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'); -- cgit v1.2.1