From c8dae246457876d0a6a66f816347be9a47ce4378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 5 Dec 2023 18:10:34 +0100 Subject: [PATCH] st/bin: Fix height request The request currently mixes up y-align and x-align. Part-of: --- src/st/st-bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-bin.c b/src/st/st-bin.c index a10510821..9dc329120 100644 --- a/src/st/st-bin.c +++ b/src/st/st-bin.c @@ -165,7 +165,7 @@ st_bin_get_preferred_height (ClutterActor *self, } else { - ClutterActorAlign x_align = clutter_actor_get_y_align (priv->child); + ClutterActorAlign x_align = clutter_actor_get_x_align (priv->child); _st_actor_get_preferred_height (priv->child, for_width, x_align == CLUTTER_ACTOR_ALIGN_FILL,