[maemo-developers] text of progress bars and comboboxes

From: Denes Matetelki cs0rbagomba at yahoo.com
Date: Thu Mar 8 13:13:50 EET 2007
Dear Developers,

I cannot solve this 2 things in my GTK/Hildon GUI:

The text in the progress bars appears alligned to the upper-left corner.
(Not in the centre like in pure GTK, or in gazpacho+hildon)
For example with this code:
GtkWidget *progressbar1;
    progressbar1 = gtk_progress_bar_new ();
    gtk_widget_show (progressbar1);
    gtk_box_pack_start (GTK_BOX (vbox1), progressbar1, TRUE, FALSE, 1);
    gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progressbar1), 0.5);
    gtk_progress_bar_set_text(GTK_PROGRESS_BAR (progressbar1),"nyamm");

The frame around the combobox is only at the left, rigth, upper border, but there is no line at the buttom border.
With this code:

GtkWidget *combobox1;
    combobox1 = GTK_WIDGET(gtk_combo_box_new_text());
    gtk_widget_show (combobox1);
    gtk_box_pack_start (GTK_BOX (vbox1), combobox1, TRUE, FALSE, 0);
    gtk_combo_box_append_text (GTK_COMBO_BOX (combobox1), "SYNC_TO_LOCAL");
    gtk_combo_box_append_text (GTK_COMBO_BOX (combobox1), "SYNC_TO_REMOTE");
    gtk_combo_box_set_active( GTK_COMBO_BOX (combobox1), 0);

There are no errors outside scratchbox (full GTK), but in scratchbox, or in the tablet (hildon) this 2 problems appears.

Any idea?

Best Regards:

TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070308/0e2cdec3/attachment.htm 
More information about the maemo-developers mailing list