Combo Box Problem



Hi all,

I'm doing a list box with 24 text entries - the list represents the hours of the day. Oddly enough, I end up with about ten blank lines when I drop down the list. All my entries are there and it indexes correctly if I set a default value, but no matter what I do I get the blank lines. Is this a bug, or am I doing something wrong? Short lists work perfectly, but the long list adds the blanks.

I use the following procedures to create the list...

        GtkWidget *combo = gtk_combo_box_new_text ();
        ....
        gtk_combo_box_append_text (GTK_COMBO_BOX (combo), time);

thanks

Bill


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]