limiting the size of a scrolled window
- From: Paul Davis <pbd op net>
- To: gtk-list gnome org
- Subject: limiting the size of a scrolled window
- Date: Fri, 14 Sep 2001 11:12:17 -0400
i've run into this problem several times before, but i've forgotten
how to fix it.
i changed the layout of one of my windows. i used to pack 2 widgets into
a table, then pack the table into a scrolled window, then put the
window in a vbox, then that into an hbox, and add the hbox to the main
eventbox that represents the window.
i just modified this so that i pack the 2 widgets into 2 scrolled
windows, put the scrolled windows into the table, then pack the table
into the vbox, and the rest stays the same.
the result is that the scrolled windows have now grown in size to be
the maximum size necessary to display the widgets inside of them. i
don't want to use set_usize(), so is there is some other way i can get them
to be a limited size ?
i wish i had written down what i learned the last time i did this,
because it seemed very difficult to figure out until at last, it
seemed very obvious :)
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]