From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e376d32d2036a816 X-Google-Attributes: gid103376,public From: John English Subject: Re: More GUI Date: 2000/05/31 Message-ID: <393521AA.2BE7E442@bton.ac.uk>#1/1 X-Deja-AN: 629486431 Content-Transfer-Encoding: 7bit References: <8h2j3v$r2p$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@bton.ac.uk X-Trace: saturn.bton.ac.uk 959783436 7506 193.62.183.204 (31 May 2000 14:30:36 GMT) Organization: University of Brighton Mime-Version: 1.0 NNTP-Posting-Date: 31 May 2000 14:30:36 GMT Newsgroups: comp.lang.ada Date: 2000-05-31T14:30:36+00:00 List-Id: Emmanuel Briot wrote: > "William J. Thomas" wrote: > > Some suggestions for the Ada GUI builders:: A box, container, or even > a > > window widget that allows for the fixed placement of all others > components > > inside it, but once the container is manually resized at runtime it > allows > > for the automatic resizing of all of the fixed placed and sized > components > > inside of it. > > Note that the first step (fixed placement) is already doable with > gtk+/GtkAda, > the container is called suprisingly enough GtkFixed ! No automatic > resizing > is provided however. I don't remember seeing an interface where the size > of > the contents changes dynamically when the size of the window is changed. > Is > this something recommended by Microsoft GUI coding standards ? JEWL allows this to some extent: component sizes <= 0 are taken as relative to the parent container size and are resized automatically if the parent size changes, and top/left coordinates < 0 are relative to the bottom/right of the parent container and are repositioned automatically when the parent size changes. ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------