List Alignment



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?



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