>> >> My problem is that the check box is presented >> flush left in the column and I would like >> it to be centered. The closest I could find was >> Qt::TextAlignmentRole which didn't sound right >> or have any affect. >> >> Any help would be appreciated. >> > There is no easy way to make the check box appear aligned differently. > The only way I know of, is to create your own delegate and do the > rendering yourself (using QStyle to do the hard work, of course). >
I investigated that briefly, but isn't it true that I would have consistently handle both the paint and edit. (I can't draw it in the center if the edit code still thinks it is aligned to the left.) > André > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > > _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest