Re: size adaptive window layout



Hi hi,

it is a GtkTable with 3 columns. The widgets in column 1 and 3 are packed with
SHRINK set for width, while the widget in the middle has EXPAND|FILL set.

You can look at:
http://cvs.sourceforge.net/viewcvs.py/buzztard/buzztard/src/ui/edit/machine-preferences-dialog.c?view=markup

search for 'bt_machine_preferences_dialog_init_ui('

Ciao
  Stefan

Paolo Costabel wrote:
What layout widget are you using for your table?

Stefan Kost wrote:

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
 

------------------------------------------------------------------------

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
 




-- 
      \|/            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]