Hey Jimmy,

> I am having bit of problem aligning WImage vertically within the WTableCell 
> using setContentAlignment().
>
> here is a snippet of my code.
>
> WTable * table = new WTable(NULL);
> WImage * formImage = new WImage("Icons/image1.jpg")
>
> table->elementAt(row,column)->addWidget(formImage);
> table->elementAt(row,column)->setContentAlignment(Wt::AlignMiddle);

You are indeed right, this was broken in the latest Wt releases.
I have fixed this problem in the latest git.

Regards,
koen

------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to