Great! Thanks Tristan. Dave
________________________________ From: Tristan Van Berkom <t...@gnome.org> To: David Buchan <pdbuc...@yahoo.com> Cc: gtk-app-devel-list list <gtk-app-devel-list@gnome.org> Sent: Monday, January 28, 2013 1:16 AM Subject: Re: GTK tables On Mon, Jan 28, 2013 at 4:42 AM, David Buchan <pdbuc...@yahoo.com> wrote: > I've created a table with Glade and put various widgets in some of the cells. > > Ifin one particular rowI have: a label,a text entry, and finally a few cells > that I don't need to put anything into, should I place blank labels in those > last unused cells, or just leave them unspecified? Would there be different > behavior? Which version of Glade are you using ? Glade >= 3.10 should be using a GtkGrid (as would be appropriate for GTK+ >= 3.0). > Other rows in the table use cells in those last few columns, so the table > does need to be that wide. Glade's UI for tables/grids display placeholder widgets to allow the user to add widgets to the table/grid, it of course does not show how the table will appear accurately. However there is a preview function which displays the widgets more accurately (select the table or it's toplevel and activate the "Preview snapshot" context menu item, or the tool item which also appears in the toolbar). FWIW, the table/grid widget's, (as long as 'homogeneous' is not set on the table/grid), will distribute space to the children based on the requested size of a row (or column) collectively. If you have a widget in the last column of a given row, you don't need to add anything else in other rows, the table will require enough width to fit the widget in the last column of a given row (but really, try the preview feature, that will show you accurately what the table would look like when loaded in your application with GtkBuilder). Hope this helps. Cheers, -Tristan _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list