forked from AuroraMiddleware/gtk
entry: Fix baseline alignment
Since we only look at priv->text_baseline later on, it would be useful to actually set it to a useful value.
This commit is contained in:
parent
0726148ca5
commit
55389cd97c
@ -3110,7 +3110,7 @@ gtk_entry_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation child_clip;
|
||||
gint i;
|
||||
|
||||
priv->text_baseline = -1;
|
||||
priv->text_baseline = gtk_widget_get_allocated_baseline (widget);
|
||||
|
||||
priv->text_x = 0;
|
||||
priv->text_width = allocation->width;
|
||||
|
Loading…
Reference in New Issue
Block a user