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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.velia.net!noris.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Gtk Toolbars Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Mon, 5 Oct 2009 09:36:57 +0200 Message-ID: NNTP-Posting-Date: 05 Oct 2009 09:36:55 CEST NNTP-Posting-Host: fcfdd81d.newsspool1.arcor-online.net X-Trace: DXC=79GC5XZ231c016@cHD@m;jic==]BZ:afn4Fo<]lROoRa^YC2XCjHcbi\b@h]d3K4HeDNcfSJ;bb[eFCTGGVUmh?dLK[5LiR>kgbH^N7WDge=7f X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:8584 Date: 2009-10-05T09:36:55+02:00 List-Id: On Sun, 4 Oct 2009 18:26:43 -0700 (PDT), RasikaSrinivasan@gmail.com wrote: > this is probably not specific to GtkAda: Yes, it is Gtk. > I want to prevent the toolbar from resizing when the container is > resized. all the examples i have looked does not seem to answer this > question. there is a way to specify the min size but not a max size. > Any ideas? That depends on the container. They usually have parameters like Fill and Expand. Both should be False. Sometimes it is a combination of flags where the value Shrink should be given, etc. In some cases it is the container itself, which has to be not resized. For example, VBox resizes all elements horizontal sizes when itself gets resized. There is no way to prohibit this otherwise than by not resizing the VBox itself, even so the horizontal size is the maximum of all its elements. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de