Minor Tidy API suggestion, I think the floating-point xalign/yalign
are a weird historical thing from GTK - I have never seen a value
other than 0.0, 0.5, or 1.0.
And it turns out, there's another value you want that can't be
expressed as floating point - FILL.
So HippoCanvas does:
/* How an item deals with extra allocation in a single (x or y) dimension */
typedef enum {
HIPPO_ALIGNMENT_FILL,
HIPPO_ALIGNMENT_START, /* left or top */
HIPPO_ALIGNMENT_CENTER,
HIPPO_ALIGNMENT_END /* right or bottom */
} HippoItemAlignment;
FILL is for text items (justify fill), and for the box layout manager.
Havoc
--
To unsubscribe send a mail to [EMAIL PROTECTED]