comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: gtkada
Date: 16 Sep 2002 14:09:34 -0400
Date: 2002-09-16T18:19:18+00:00	[thread overview]
Message-ID: <u4rcpbych.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: slrnaoc0aj.hne.adi@drcomp.erfurt.thur.de

Adrian Knoth <adi@drcomp.erfurt.thur.de> writes:

> Preben Randhol <randhol+news@pvv.org> wrote:
> 
> >> Yes. I'd like to put emphases on this. Having those unfixed widgets give
> >> you much freedom in resizing the window. On the other side you'll have
> >> to use paddings if you want some space between objects.
> > Yes, but you also have border width.
> 
> I'm struggling with a scrolled_window and a Clist inside. I would like to
> have a size not smaller than 80 pixels. I guess it's not really possible
> except to make the parent-window that large (by default) so there are
> still 80 pixels left for the scrolled_window.

This is getting a little off-topic, but I'm doing similar things. I
assume you are using GtkAda (not some other language binding :).

I also have a Clist inside a Scrolled_Window (so I can scroll the list
when it is too big). I did nothing to specify a minimum size; it seems
to request enough to show one line.

You should talk in terms of lines (of information), not pixels. The
user may change their default font to something much larger, in which
case your pixel size will be wrong.

Do you want the minimum size to be more than one line?

> Now it's much smaller because other stuff in the window takes so
> much space. It would be nice to say:
> Set_Size_At_Least(scrollwindow1, 80);

If the number was lines of information, I agree that would be useful.
There may be a way to do this with Gtk; I'm still new.

-- 
-- Stephe



  parent reply	other threads:[~2002-09-16 18:09 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 12:41 gtkada Sami Evangelista
2002-09-16 13:03 ` gtkada David C. Hoos
2002-09-16 13:05 ` gtkada SIMON Claude
2002-09-16 13:09 ` gtkada Adrian Knoth
2002-09-16 14:09   ` gtkada Preben Randhol
2002-09-16 15:09     ` gtkada Adrian Knoth
2002-09-16 15:41       ` gtkada Preben Randhol
2002-09-16 16:05         ` gtkada Adrian Knoth
2002-09-16 17:52           ` gtkada Preben Randhol
2002-09-16 18:12             ` gtkada Adrian Knoth
2002-09-16 19:08               ` gtkada Preben Randhol
2002-09-17 15:03                 ` gtkada Stephen Leake
2002-09-17 17:31                   ` gtkada Preben Randhol
2002-09-16 18:09           ` Stephen Leake [this message]
2002-09-16 20:14             ` gtkada Adrian Knoth
  -- strict thread matches above, loose matches on Subject: below --
2002-12-15 17:02 GTKAda R. Srinivasan
2002-12-15 17:35 ` GTKAda Adrian Knoth
2002-09-20 10:30 gtkada Sami Evangelista
2002-09-20 12:19 ` gtkada Stephen Leake
2002-09-20 12:59   ` gtkada user
2002-09-20 14:23     ` gtkada Stephen Leake
2002-09-19 17:43 gtkada Sami Evangelista
2002-09-19 19:32 ` gtkada Adrian Knoth
2001-01-11  0:52 Gtkada chris woodrow
2001-01-11 10:13 ` Gtkada Preben Randhol
1999-04-29  0:00 GtkAda Delambre
1999-04-29  0:00 ` GtkAda David C. Hoos, Sr.
1999-05-12  0:00   ` GtkAda charlet
1999-04-29  0:00 ` GtkAda rajagopalasrinivasan
1999-04-29  0:00   ` GtkAda David Botton
replies disabled

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