comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: GtkAda Tree_View properties
Date: Fri, 25 May 2007 10:01:21 +0200
Date: 2007-05-25T09:59:14+02:00	[thread overview]
Message-ID: <at2msd6zky7g$.ojkg6mvqda8d$.dlg@40tude.net> (raw)
In-Reply-To: pan.2007.05.25.00.06.39.565468@linuxchip.demon.co.uk.uk.uk

On Fri, 25 May 2007 00:05:08 GMT, Dr. Adrian Wrigley wrote:

> On Tue, 22 May 2007 15:21:49 +0200, Dmitry A. Kazakov wrote:

> I found I had a ~/.gtkrc which already set the line spacing
> to a minimum, but the gaps are still rather wide with small
> fonts.  I don't think there is an easy for for this.

You can also look at the properties of the cell renderers you are using.
They have "ypad" (the default should be 0). There also is "height"
defaulted to -1, you could try to set it for the offending column.

> Other things seemed
> to be problematic with the layout too (widgets becoming too small for
> their contents).

Yes, this is a problem, GTK+ starts with the minimal possible size. There
is Set_Default_Size, but it is not exactly what needed. I don't know any
good solution for that. For columns of a tree view Set_Fixed_Width is
sometimes helpful.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2007-05-25  8:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 11:36 GtkAda Tree_View properties Dr. Adrian Wrigley
2007-05-22 13:21 ` Dmitry A. Kazakov
2007-05-25  0:05   ` Dr. Adrian Wrigley
2007-05-25  8:01     ` Dmitry A. Kazakov [this message]
2007-05-25 14:43       ` petter_fryklund
2007-05-25 15:12         ` Dr. Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox