Re: Fixed height GtkTreeViews
- From: Alexander Larsson <alexl redhat com>
- To: Federico Mena Quintero <federico ximian com>
- Cc: Kristian Rietveld <kris gtk org>, GTK+ development mailing list <gtk-devel-list gnome org>, "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: Fixed height GtkTreeViews
- Date: 18 Dec 2003 09:14:20 +0100
On Thu, 2003-12-18 at 04:45, Federico Mena Quintero wrote:
> On Wed, 2003-12-17 at 14:50, Kristian Rietveld wrote:
>
> > I just committed /the/ fixed height patch for GtkTreeView to GTK+ HEAD.
> > A fixed height GtkTreeView basically means that we only measure the
> > height of the first row and use this height for each row in the
> > GtkTreeView.
>
> This is totally awesome.
>
> > Fixed height mode is not enabled by default. The programmer will have to
> > enable it by doing the following two twings:
>
> Is there a known case where this is not what you want to do? I don't
> remember seeing a tree view with variable row heights in any
> application. Maybe we should make it the default?
Any app showing text could cause problems. For instance, if there is
text with e.g. japanese characters or something else with taller glyphs
somewhere in the list these would be cut off.
Enabling this by default will make us look ugly and buggy every time
this happens, and I think small lists are much more common than huge
ones, so the default performance really isn't that important.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's an immortal sweet-toothed werewolf plagued by the memory of his family's
brutal murder. She's a blind cat-loving politician with an MBA from Harvard.
They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]