After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 118183 - Default to HIG-style GtkFrame
Default to HIG-style GtkFrame
Status: RESOLVED FIXED
Product: glade-legacy
Classification: Deprecated
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Damon Chaplin
Damon Chaplin
Depends on:
Blocks:
 
 
Reported: 2003-07-24 13:46 UTC by Murray Cumming
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2003-07-24 13:46:52 UTC
Glade should create HIG-style GtkFrames by default, with no visible border,
with a bold title, and with the child inside an indented GtkAlignment:
http://developer.gnome.org/projects/gup/hig/1.0/controls.html#controls-frames

The GtkAligment in GTK+ 2.4 has a padding property which will make the
indentation easier.

Bug 96374 might be interesting, but it's not fun to read.
Comment 1 Damon Chaplin 2004-02-23 16:26:36 UTC
This one is easier to do than bug 118186.

We need to:

1) Set the frame's shadow to 'None'.
2) Set the frame label "use_markup" property to TRUE, and set the
   label to "<b>widgetname</b>".
3) Add a GtkAlignment widget as a child and set the left padding
   property to 12. (It would be nicer if GtkFrame had an "indent"
   property instead. Maybe we should suggest that.)

Users may be a bit confused when they add a frame but it doesn't have
a visible frame!
Comment 2 Damon Chaplin 2004-03-29 13:18:05 UTC
fixed in cvs.