[Qt-interest] Column-header text in designer is initially set to AlignLeft but displays as AlignHCenter

K. Frank kfrank29.c at gmail.com
Sun Mar 14 22:48:35 CET 2010


Hello All -

Minor glitch with easy workaround:

Am I missing something in using designer?  I drop a QTableWidget onto a form and
double-click on it to bring up the "Edit Table Widget" dialog to add
some columns.
The column-header text displays as center-aligned in the designer preview (as it
also does when running the resulting program), but in the Properties pane of the
"Edit Table Widget" dialog, the "textAlignment / Horizontal" property
is shown to
be AlignLeft (and the text is left-aligned in the Columns tab of the
left-hand pane of
the "Edit Table Widget".

(If I change "textAlignment / Horizontal" to something other than
AlignLeft, and then
change it back, the text does seem to left-align properly, both in the
designer preview,
and when running the program, sp this is not an impediment to using
designer to label
my columns.)

Am I doing something wrong that somehow gets some of the settings out of sync?

"Help / About Qt Designer" shows the version as 4.6.1.  I am running
on windows 7,
and built qt with the tdm build of mingw.  ("g++ --version" reports
"g++ (TDM-2 mingw32) 4.4.1".)

Thanks.


K. Frank



More information about the Qt-interest-old mailing list