From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA29882; Mon, 2 Sep 2002 12:07:30 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA29866 for ; Mon, 2 Sep 2002 12:07:30 +0200 (MET DST) Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g82A7Tr22582 for ; Mon, 2 Sep 2002 12:07:29 +0200 (MET DST) Received: from localhost (kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) with ESMTP id g82A7OD07497; Mon, 2 Sep 2002 12:07:28 +0200 Date: Mon, 2 Sep 2002 12:07:23 +0200 (CEST) From: "Kontra, Gergely" To: Nicolas Cannasse cc: OCaml Subject: Re: [Caml-list] Osiris - gtk In-Reply-To: <002101c24e99$8c3c7390$0700a8c0@warp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >> Some sort of automatic placement will be fine. Configure, that all >> elements in a container vill be top aligned. (=VPanel) >> The last thing I miss is to enable auto-fill an element. (AlClient is >> for that purpose?) > >yes >try to work with the "#align" calls in order to align compents > left/top/right/bottom/client & center are allowed ). These alignment has "side effects": when you resize the window, they behave differently: the left and right aligned things can stretch in y direction, others in x direction. >you can also use #span & #space on the containers ( windows, panels ). >This let Osiris handle all the resize / positionning of the components, >especially when resizing the window or adding new elements. Well, as I can see only one component is allowed to be client-aligned. The labels have predefined sizes, they doesn't respect the actual data. Will osiris do some cool stuff auto-arrange components? Creating a singe one-row entry field, which is really one row height is a bit hacking. Specifying the height goes in pixels, not in rows. Packing is not so simple, so it worth a tutorial. I think osiris is now low-level to quickly develop GUIs. Will it be higher-level, or this will be another package? In the example programs you use mainly explicit placement. In some examples, the background of the window, where there is no component, is darkgrey, while the back of the labels, buttons are lighter grey. I currently can help just with testing/suggestions and maybe some tips writing the documentation. Gergo +-[Kontra, Gergely @ Budapest University of Technology and Economics]-+ | Email: kgergely@mcl.hu, kgergely@turul.eet.bme.hu | | URL: turul.eet.bme.hu/~kgergely Mobile: (+36 20) 356 9656 | +-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+ . Magyar php mirror es magyar php dokumentacio: http://hu.php.net ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners