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 668685 - Function name completions are not aligned
Function name completions are not aligned
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-01-25 18:04 UTC by Morten Welinder
Modified: 2012-01-27 03:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2012-01-25 18:04:28 UTC
When I type =h in A1, I get a list of function names.  I looks something like
this:

harmean :      harmonic mean
hdate :  Hebrew date
[etc]

Two issues:

1. The descriptions do not line up.  It appears that \t is being used
   instead of a table of some kind.

2. Colons?  We shouldn't have space in front of the colons in English,
   but I think it would be better to get rid of them entirely.
Comment 1 Morten Welinder 2012-01-25 19:13:44 UTC
(after irc discussion)

We do have tabs setting code, but it appears that the layout from the
GtkLabel is being discarded.
Comment 2 Andreas J. Guelzow 2012-01-26 06:43:27 UTC
Yes I notice that everything worked fine with GTK2 but the alignment problem occurs with GTK3.

The right solution for this situation is just to use a GtkTextView rather than a GTKLabel. GtkTextViews allow the tab stops to be set with gtk_text_view_set_tabs.

I will write a patch for this.
Comment 3 Andreas J. Guelzow 2012-01-27 03:06:30 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.