Fix some problems with vertical alignment.

Sat Jul 22 17:41:26 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.[ch]: Fix some problems with vertical
	alignment.

	* gtk/gtkentry.c (gtk_entry_find_position): Fix
	char/byte confusion.
This commit is contained in:
Owen Taylor
2000-07-22 21:45:15 +00:00
committed by Owen Taylor
parent 6a2c2edf05
commit a338544d1a
9 changed files with 84 additions and 11 deletions

View File

@ -70,6 +70,7 @@ struct _GtkEntry
PangoLayout *layout;
gint scroll_offset;
gint ascent; /* font ascent, in pango units */
gint descent; /* font descent, in pango units */
GtkIMContext *im_context;
};