Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!uokmax!munnari.oz.au!metro!maths.su.oz.au!ta_k From: ta_k@maths.su.oz.au (Katya Ta) Newsgroups: comp.windows.x Subject: Widget Size Message-ID: <1991May21.224525.7671@metro.ucc.su.OZ.AU> Date: 21 May 91 22:45:25 GMT Sender: news@metro.ucc.su.OZ.AU Reply-To: ta_k@maths.su.oz.au (Katya Ta) Organization: Mathematics, University of Sydney Lines: 25 Nntp-Posting-Host: adder.maths.su.oz.au Hi, Firstly I'm using the Xcu and Athena Widget sets. My problem is I have a widget that contains another and I want the container to be the size of the child widget (preferably not smaller, but definitely not larger). The container is a composite widget. In its Query Geometry method I return the child's preferred size. However the container widget is still to big. How do I get around this or should I derive the container from a form widget instead of a composite widget (I didn't do this as I thought it wasn't worthwile as the container only ever has one child.) thanks a lot bye Katya -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=- / __ | Katya Ta ---- |__| __|__ University of Sydney -- |__| | Australia -- |__| \| (ta_k@maths.su.oz.au) __ /| | |__| _/ | | <-- Chay(Cantonese) == Ta.(Vietnamese) :) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-