From 946775b8ab49b7d056af5fbf8cebf5b0a452fe79 Mon Sep 17 00:00:00 2001 From: Robert Tari <robert@tari.in> Date: Mon, 31 Mar 2025 14:01:55 +0200 Subject: arctica-greeter/src/greeter-list.vala: Fix DashBox height when the content changes --- src/greeter-list.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/greeter-list.vala b/src/greeter-list.vala index b67ba16..04d4ed4 100644 --- a/src/greeter-list.vala +++ b/src/greeter-list.vala @@ -2,7 +2,7 @@ * * Copyright (C) 2012 Canonical Ltd * Copyright (C) 2015-2017 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - * Copyright (C) 2023 Robert Tari + * Copyright (C) 2023-2025 Robert Tari * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as @@ -283,6 +283,7 @@ public abstract class GreeterList : FadableBox protected void redraw_greeter_box () { + queue_allocate (); Gtk.Allocation allocation; greeter_box.get_allocation (out allocation); queue_draw_area (allocation.x, allocation.y, allocation.width, allocation.height); @@ -662,6 +663,7 @@ public abstract class GreeterList : FadableBox focus_prompt (); entry_displayed_done (); mode = Mode.ENTRY; + queue_allocate (); } protected void select_entry (PromptBox entry, double direction, bool do_scroll = true) -- cgit v1.2.3