entry, searchentry: Fix measuring baseline
authorSergey Bugaev <bugaevc@gmail.com>
Sat, 2 Sep 2023 18:31:18 +0000 (21:31 +0300)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Sep 2023 19:20:57 +0000 (15:20 -0400)
commit6ffbaa6bb0f28cdced408a8b6cd3ea81cf73771c
treeaa9637f252d8815bd35c321deb28d3ecd3c860ca
parent317b64e599369c35fbad4e7a935014873a0d9f14
entry, searchentry: Fix measuring baseline

If the entry has icons, we may end up increasing our minimum and natural
height compared to the values the text child returned. In that case, we
should also adjust the baseline values to account for the text being
shifted down.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
gtk/gtkentry.c
gtk/gtksearchentry.c