PDA

View Full Version : centering the windowTitle of QWidget (or QWidget derived object)



thawkins
2nd May 2006, 21:54
anyone know how to center the title text of a QWidget or QWidget derived class like QDialog. Right now, the title only appears on the left side, I wanted to make it centered.

I'm using QT 4 on a redHat Linux 8

Glitch
2nd May 2006, 22:11
This feature is going to be very specific to your Window Manager. Qt tries to avoid mucking around in such platform specific areas. I think you might be out of luck with reagards to an easy Qt solution to this problem.

--Justin