ui/gtk/list.c

changeset 824
a0ea8f3aa6e8
parent 821
2aa2f75f8da4
child 853
380ec881faa2
--- a/ui/gtk/list.c	Thu Oct 09 18:23:07 2025 +0200
+++ b/ui/gtk/list.c	Thu Oct 09 18:24:09 2025 +0200
@@ -1519,7 +1519,7 @@
 UIWIDGET ui_combobox_create(UiObject *obj, UiListArgs *args) {
     GtkWidget *combobox = gtk_combo_box_new();
     if(args->width > 0) {
-        gtk_widget_set_size_request(scroll_area, args->width, -1);
+        gtk_widget_set_size_request(combobox, args->width, -1);
     }
     
     ui_set_name_and_style(combobox, args->name, args->style_class);

mercurial