Hinting at reasonable window sizes
- From: "Michael K. Johnson" <johnsonm redhat com>
- To: gtk-list redhat com
- Subject: Hinting at reasonable window sizes
- Date: Wed, 14 May 1997 22:01:18 -0400
I'm trying to write a gtk app in which I'd like a table inside a
scrolled window. It works in that I've got a scrolled window that
contains a table -- but it's unreadable and unusable as is because
it seems to default to about a 40x30 pixel area inside the scrolled
window, and I have no idea how to change that.
I've tried setting requisition areas manually, and all sorts of
other hacks without success. I really don't usually want the
scrollbars to be visible at all! I'm putting them there in case
the data in the case requires a larger window than I want to put
up by default, or than would fit on the screen; I hate to special
case the code to only stuff things in a scrolled window if there
are more than n (for some n) items in the table. I thought that
was the reason for GTK_POLICY_AUTOMATIC, anyway... :-)
So, what am I doing wrong?
michaelkjohnson
"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]