Wednesday, January 30

Hello,

If I put a spinner in a frame in a table cell with gtk_table_attach it
unfortunately overlaps and looks garbled :(

How should I do this so that they don't overlap within the same cell ?

Here's what I'm doing now.

.... snippet ...

/* the frame */
mvfr = gtk_frame_new("test radio");
gtk_table_attach(GTK_TABLE(table), mvfr, 0, 1, 0, 1, 
  GTK_SHRINK, GTK_EXPAND, 4, 4);

/* the spinner */
fxadj = (GtkAdjustment *)gtk_adjustment_new(1.0, 1.0, 100.0, 1.0, 1.0, 0.0);
fxspinner = gtk_spin_button_new(fxadj, 0, 0);
gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(fxspinner), TRUE);
gtk_table_attach(GTK_TABLE(table), fxspinner, 0, 1, 0, 1, 
  GTK_SHRINK, GTK_EXPAND, 4, 4);

Thanks for any possible suggestions.

K.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to