summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index b6e11e2bc..5d08d9f51 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -148,7 +148,7 @@ sub gtkradio {
my $radio;
map {
my $w = gtkset_active($radio = Gtk2::RadioButton->new_with_label($radio ? $radio->get_group : undef, $_), $_ eq $def);
- $w->child->set_size_request((mygtk2::get_main_window_size())[0] - 50, -1);
+ $w->child->set_size_request(mygtk2::get_label_width(), -1);
$w->get_child->set_line_wrap(1);
$w;
} @_;