size adaptive window layout



hi hi,

I generate layouts for property windows. It is basically a large table, where
each property is a row. I've put the table into a scrolled window to care for
very large windows (taller that the screen).

Here is how it looks like:
http://www.buzztard.org/index.php/Image:Bt-edit-0.0.1-05.png

The problem I have is to make it a little bit bigger (so that the hscales have
more space). I've only did
  gtk_window_set_default_size(window,-1,200);
to let gtk choose a good width. When I ommit that the window becomes only about
20 pixels heigh. Can't gtk set a sensible default size, where scolling is only
used, when the window does not fit the screen?

Any suggestions?

Stefan
-- 
      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 301166
|      ///           04277 Leipzig      04251 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -


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