diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-26 13:28:15 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-26 13:28:15 +0000 |
commit | b56f4236db0d1403dda215e0a1ea962197dc6553 (patch) | |
tree | 97164fdb58aea0b6bee1b006650aaf70913fde56 | |
parent | b5f5a4b35c078b4f291ec38c017b3571f8806347 (diff) | |
download | rpmdrake-b56f4236db0d1403dda215e0a1ea962197dc6553.tar rpmdrake-b56f4236db0d1403dda215e0a1ea962197dc6553.tar.gz rpmdrake-b56f4236db0d1403dda215e0a1ea962197dc6553.tar.bz2 rpmdrake-b56f4236db0d1403dda215e0a1ea962197dc6553.tar.xz rpmdrake-b56f4236db0d1403dda215e0a1ea962197dc6553.zip |
if typical_width is too small, have a sensible small value
-rwxr-xr-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -423,6 +423,7 @@ or you already installed all of them.")); $tree->set_column_auto_resize($_, 1) foreach 0..2; my $typical_width = $tree->get_style->font->string_width("Develop xmms-more-vis-plugins-1.6.0.0-2mdk"); $typical_width > 500 and $typical_width = 500; #- try to not being crazy with a too large value + $typical_width < 150 and $typical_width = 150; $tree->set_column_max_width(0, $typical_width); $tree->signal_connect(tree_expand => sub { #- hackish: if first child has '' as name, then we need to expand on the fly |