Date: Wed, 22 Mar 2006 19:26:54 +1100 From: Erik de Castro Lopo To: lablgtk at math.nagoya-u.ac.jp Subject: Box packing Message-Id: <20060322192654.172c7ea3.ocaml-erikd at mega-nerd.com> Organization: Erik Conspiracy Secret Labs Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 1101 Hi all, Some time ago I did some coding with the GTK+ widgets in C. I am now trying to do something an Ocaml and I'm not finding it any easier than it was in C :-). I'm basically trying to construct something like a text editor with a menubar at the top, a text are in the middle and scroll bars to the right and bottom. I've tried a bunch of different packing schemes but I have yet to find a configuration that work as I would like it to under window resizing operations. The problems I'm facing are things like: - A scrollbar which either doesn't handle resize in the horizontal direction or does resize in the vertical direction. - The main text box not completely filling the all the area minus the space taken up by the menubar and scroll bars. Anyone have any wisdom to impart? Cheers, Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "To me C++ seems to be a language that has sacrificed orthogonality and elegance for random expediency." -- Meilir Page-Jones