Re: stretch factors in GTK+ 2.0



On Sun, Dec 01, 2002 at 02:08:32AM -0500, John K Luebs wrote:
The stretch factor is an integer >= 0 associated with each item added to
a Box (a VBox or an HBox) or table. The stretch factor allows you to
specify the expanded size relative to the other "stretchable" members in
the box. In otherwords, all members with the same stretch factor will be
expanded to the same size. Members with a stretch factor of 1 will be
half the size of those with a stretch factor of 2.

Put them in a homogeneous GtkTable of four columns, with the middle
element spanning two columns.

(Haven't tried it, but it seems logical enough...)

-- 
      Evan Martin
martine cs washington edu
  http://neugierig.org



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