GNOME Bugzilla – Bug 118186
Windows should default to HIG spacing
Last modified: 2004-12-22 21:47:04 UTC
Glade should use HIG borders/spacing when creating new Windows and Dialogs: http://developer.gnome.org/projects/gup/hig/1.0/windows.html#alert-spacing (Hopefully there is a more generic part of the HIG for this, but that's the best that I can find now).
I'm not sure it's possible to do this in Glade, at least not easily. If Glade sets the border width of dialogs then it may affect the placement of the buttons at the bottom of the dialog. We could set the border width of simple window widgets, but I'm not sure that helps much. If the HIG people gave me a .glade file and said "those are the default settings we want" then I'd do that. But without specific settings it's hard to know what to do.
GtkDialog has style properties for its border and spacing settings. We could override these in Glade, but if the user changes the theme they will be messed up. So we can't really. (Though I've seen some apps that do this.) We can't set the border width of GtkWindow, since it may be the main window with menubar etc. so doesn't want any space around the border. This needs to be sorted out between the GTK+ and HIG people.
Yeah, I guess there's no easy way to do this. At least Glade produces pretty HIG dialogs now.