Re: TreeView doesn't resize down
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: TreeView doesn't resize down
- Date: Wed, 4 Apr 2007 11:04:55 -0400 (EDT)
Daniel Kasak wrote:
my $sw = Gtk2::ScrolledWindow->new;
[...]
$sw->add_with_viewport( $self->{treeview} );
BZZT!
TreeView is a natively-scrollable widget, so adding with a viewport actually
breaks some of the built-in sizing and scrolling logic. That should, instead,
be
$sw->add ($self->{treeview});
The same goes for TextView.
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]