Re: List Alignment

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

 



Hello..What you need to set is xalign property, not alignment (alignmentaffects multi-line constructs).
So, your code should be:g_object_set( G_OBJECT( renderer_text ),              "font", FONT,              "xalign", 0.5,              NULL );


2008/11/25 Demetris Zavorotnichenko <fgcity4652@xxxxxxxxxxxxxx>:> Hi everyone.>>>> I'm working with list Views now.>>>> I populated them but I can't seem to make the text align on the columns as I> want.>>>> Here is what I do:>>>> Renderer_text = gtk_cell_renderer_text_new();>> G_object_set (G_OBJECT (renderer_text),>>                                     "font", FONT,>>                                     "alignment", PANGO_ALIGN_CENTER,>>                                     NULL);>>>>>> But no matter what alignment I enter it's still on default.>>>> What am I doing wrong here?>> _______________________________________________> gtk-list mailing list> gtk-list@xxxxxxxxx> http://mail.gnome.org/mailman/listinfo/gtk-list>>


-- Tadej Borovšaktadeboro@xxxxxxxxxxxxxxxxxxxxxxx@gmail.com_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux