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 PAA19988; Wed, 28 Aug 2002 15:48:06 +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 PAA19759 for ; Wed, 28 Aug 2002 15:48:05 +0200 (MET DST) Received: from mel-rto2.wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.254]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7SDm4X20818 for ; Wed, 28 Aug 2002 15:48:04 +0200 (MET DST) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto2.wanadoo.fr (6.5.007) id 3D5392B600764018; Wed, 28 Aug 2002 15:47:56 +0200 Received: from warp (80.15.42.179) by mel-rta10.wanadoo.fr (6.5.007) id 3D49FFDD009F4C44; Wed, 28 Aug 2002 15:47:56 +0200 Message-ID: <002101c24e99$8c3c7390$0700a8c0@warp> From: "Nicolas Cannasse" To: "Kontra, Gergely" , "OCaml" References: Subject: Re: [Caml-list] Osiris - gtk Date: Wed, 28 Aug 2002 15:48:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > And I don't know much about geometry management. > It seems it has some border-layout like management, but it is not so > simple to use. I think a single wrapper, which behaves like HPanel and > VPanel in gtk will be nice. I also wonder if I can do split-panes. Automatic split bars are not yet implemented. They're on my todo-list > 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 ). 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. > For example how can I achieve a simple layout like this: (rolodex > (sorry, don't know the correct spelling) > And, if it is possible, how to have a labelled border around each row, > like this > > +-borderlabel----------+ > | | > | Element in the pane | > | | > +----------------------+ > Labeled border are also not part of the API. when you wanna have several " label : " lines you can simply create a panel for each line ( setting #border to BdNone to hide the layout ) and adding both the label & the edit with #align AlLeft. Nicolas Cannasse ------------------- 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