Question about pango_layout_set_spacing().
- From: "Tom Liu" <tom liu flextrade com>
- To: <gtk-app-devel-list gnome org>
- Subject: Question about pango_layout_set_spacing().
- Date: Fri, 2 Jan 2004 12:51:38 -0500
HI,
I have labe has 2 lines. I want to set the space between the lines, The
following code don't work.
GtkWidget *lbl= gtk_label_new("line1\nline2")
PangoLayout *ly=gtk_label_get_layout(GTK_LABEL(lbl));
pango_layout_set_spacing(ly,20);
Can some one give a look?
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]