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 123535 - Spacings must be programmer-friendly
Spacings must be programmer-friendly
Status: RESOLVED NOTABUG
Product: gnome-devel-docs
Classification: Applications
Component: hig
unspecified
Other Linux
: Normal normal
: ---
Assigned To: HIG Maintainers
HIG Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-30 05:41 UTC by Gregory Merchan
Modified: 2020-12-04 18:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gregory Merchan 2003-09-30 05:41:42 UTC
As was mentioned in some other reports, the HIG spacings are unusable
for programmers. Because of how Gtk+ layout is done, spacings not given
in terms of toolkit function arguments lead to inconsistencies. For
example, in bug #95773, it's made clear that though at one point the
HIG recommends 12px for a spacing, the function argument should be 6px
(maybe).

Neither designers nor programmers can make any use of spacings which are
given in terms of appearances on one person's screen. Various aspects of
themes will alter the visible result.

Gtk+ style properties (which are themable) that can be overridden
by code should default to HIG values. This way the overrides are
unnecessary, so global changes can be made easily. Without an
intelligible HIG, getting changes made to Gtk+ default will be almost
impossible.
Comment 1 Allan Day 2014-09-26 13:13:47 UTC
I'm afraid I don't see why function arguments are relevant. Margins are set with properties, and padding with CSS. I haven't heard any other complaints about this.