st: Fix spacing on right icon in entry

https://bugzilla.gnome.org/show_bug.cgi?id=705779
This commit is contained in:
Florian Müllner 2013-09-10 21:59:21 +02:00
parent 1b6090fe13
commit 954d262d67

View File

@ -469,7 +469,7 @@ st_entry_allocate (ClutterActor *actor,
clutter_actor_allocate (right_icon, &icon_box, flags);
/* reduce the size for the entry */
child_box.x2 -= icon_w - priv->spacing;
child_box.x2 -= icon_w + priv->spacing;
}
clutter_actor_get_preferred_height (priv->entry, child_box.x2 - child_box.x1,