Hello list!
(I sent this message to directfb-usres a couple of days ago, but haven't got
any response yet. Hope it is
OK to post it here too)
I'm working with Gtk+ on top of directfb.
It seems that when a GtkCombo box is added to a GtkDialog, the drop down list
of the combo is covered by the dialog window.
I.e. the list is below the dialog window. If the height of the list is greater
than the dialog, the list sticks out of the dialog.
See sample code.
This happens either with system=sdl or system=x11 on a PC with a ATI Radeon
9000 card.
Is someone aware of this?
Thanks for yout time!
Version Info:
linux-fusion-7.0.1
DirectFB-1.1.1
SDL-1.2.13
cairo-1.4.14
pango-1.16.5
gtk+-2.10.14
#include <gtk/gtk.h>
int main( int argc,
char *argv[] )
{
GtkWidget *dialog;
GtkWidget *combo;
gtk_init (&argc, &argv);
dialog = gtk_dialog_new ();
// gtk_window_resize ( GTK_WINDOW (dialog), 100, 100);
combo = gtk_combo_box_new_text ();
gtk_combo_box_append_text (GTK_COMBO_BOX (combo), "One");
gtk_combo_box_append_text (GTK_COMBO_BOX (combo), "Two");
gtk_combo_box_append_text (GTK_COMBO_BOX (combo), "Three");
gtk_box_pack_start (GTK_VBOX (GTK_DIALOG(dialog)->vbox), combo, FALSE,
FALSE, 0);
gtk_widget_show (combo);
gtk_widget_show (dialog);
gtk_dialog_run (GTK_DIALOG (dialog));
return 0;
}
--
Mit freundlichen Grüßen
Jesus Ruiz de Infante
(Entwicklung)
HALE electronic GmbH
Eugen-Müller-Straße 18, 5020 Salzburg, Austria
Tel: +43 (662) 439011 0
Fax: +43 (662) 439011 9
[EMAIL PROTECTED]
Firmenbuchnummer: FN 66801m HG Salzburg
--
Scanned by MailScanner.
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev