From a5db4f8eac55dabd977a3cb67d37e29156bb8f62 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Wed, 12 Nov 2025 20:05:06 +0000 Subject: [PATCH] woo it works git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@679 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/widget/combobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/combobox.c b/src/widget/combobox.c index 62a1084..fbf95c9 100644 --- a/src/widget/combobox.c +++ b/src/widget/combobox.c @@ -110,7 +110,7 @@ static void click(MwWidget handle) { if(l > width) width = l; } - cb->listbox = MwVaCreateWidget(MwListBoxClass, "listbox", handle, 0, 0, width, MwTextHeight(handle, "M") * 6 + MwDefaultBorderWidth(handle) * 2, + cb->listbox = MwVaCreateWidget(MwListBoxClass, "listbox", handle, 0, MwGetInteger(handle, MwNheight), width, MwTextHeight(handle, "M") * 6 + MwDefaultBorderWidth(handle) * 2, MwNsingleClickSelectable, 1, NULL); MwLLShow(cb->listbox->lowlevel, 0);