Hi, I have a ClutterLabel that I display above an actor that represents some sort of frame. Since I wanted the label to be centered directly above the frame I set the position of the label at the beginning of the line (the frame and the label are wrapped inside the same container so I just set x = 0), and set its width to be the underneath actor's width and then used 'clutter_label_set_alignment' with 'PANGO_ALIGN_CENTER' and it just worked out fine (and I was happy :-)). Now, I've migrated my project to 0.8, and suddenly the label is not centered anymore. I read the documentation of 0.8 and I've noticed that comment that was added for this function: "The alignment will only be used when the contents of the label are enough to wrap, and...." Mmm... So, what am I suppose to do now in order to center the label ? The label consists of a single word which is definitely not long enough to wrap. Am I to calculate the exact position ? This is a bit of a headache, since it means I need to calculate the exact length of the text in clutter units, and then run some more calculations - and all of that for positioning the label at the center.
Is there any other trivial way to achieve this in 0.8 ? Thanks, Nati B.
