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 643339 - consistent use of labels
consistent use of labels
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
3.10
Depends on:
Blocks:
 
 
Reported: 2011-02-26 00:16 UTC by William Jon McCann
Modified: 2021-06-09 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2011-02-26 00:16:59 UTC
We've waffled a bit on the best style of labels to use when we have a page of columnar settings and as a result we're a bit inconsistent.

I think we're converging on

      <dimmer>right aligned text</dimmer>[space >10px without colon][control]

It would be nice to use a value from the theme css instead of hardcoding a dim color for the label.
Comment 1 Matthias Clasen 2011-02-26 00:56:25 UTC
Use a style class, like\

context = gtk_widget_get_style_context (label);
gtk_style_context_add_class (context, "dim-label");

and then in the theme, associate a style with that class:

GtkLabel.dim-label {
  color: <your favourite grey>;
}
Comment 2 André Klapper 2011-03-03 20:52:27 UTC
[Removing GNOME3.0 target as decided in release-team meeting on March 03, 2011. "nice-to-have" categorisation for GNOME3.0]
Comment 3 William Jon McCann 2012-11-02 14:20:32 UTC
I think right aligned works better when the contents are centered in the view. It better defines the reading axis between the label and value. Using dimmer text emphasizes the value field.

These things may not apply when the label/value pairs are within a container or well defined grid. See Details or User Accounts for examples of where they seem to work well.
Comment 4 Bastien Nocera 2013-04-18 14:47:29 UTC
We probably don't have so many of those anymore, will review.
Comment 5 André Klapper 2021-06-09 16:09:08 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.