auto shrinking widgets



        Hi, I am working with GTK+ 1.2 and I would like to know whether there
is a way to make widgets auto shrink. Here is what I have in mind:

        I have a GtkLabel widget that gets set dynamically, meaning that it
could contain different text. Sometimes the widget might take up
multiple lines. GTK automatically adjusts the widgets below the label to
accommodate for the larger label. However, once the label becomes short
again, the extra space allocated for the large label does not get
reclaimed by the lower widgets.

        Is there a way to change this behaviour?

        Thanx
                -- Mitko

-- 
========================================================================
     __  __  __________________ _________
    /  |/  |/  /__/__   ___/  |/  /     /      Dimitar Haralanov
   /          /  /  /  /  /      /  /  /       Software Engineer
  /   /   /  /  /  /  /  /  /\  \  /  /        Tahoe Networks
 /___/___/__/__/  /__/  /__/  |__|___/         mitko tahoenetworks com

========================================================================
  GPG Fingerprint:  21C1 8244 93F3 F2E9 013C  0C12 70DC C58E 6337 ABD1
-----------------------------------------------------------------------
-Time is an illusion, lunchtime doubly so.
                -- The Hitchhiker's Guide to the Galaxy

Attachment: pgpg8xOnpAku6.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]