From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,84fadb10359fe385 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.germany.com!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: GtkAda Tree_View properties Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <16k72uchyd1qc.1jah7jth0g5fz.dlg@40tude.net> Date: Fri, 25 May 2007 10:01:21 +0200 Message-ID: NNTP-Posting-Date: 25 May 2007 09:59:14 CEST NNTP-Posting-Host: f23f6773.newsspool3.arcor-online.net X-Trace: DXC==C`9fW^I0YUcHPTNZh_e7QMcF=Q^Z^V3X4Fo<]lROoRQFl8W>\BH3YRle=RdK?]1F[DNcfSJ;bb[UFCTGGVUmh?TLK[5LiR>kgRMiQA@Y:K57X X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:15928 Date: 2007-05-25T09:59:14+02:00 List-Id: 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