To get a truly fixed width/pitch font, you have to use a font that is designed to be such (monospaced), such as Courier, otherwise the results can look pretty nasty.
Karl On 2012-08-01 09:55, Carl Schumann wrote: > Hi, > > Qt community I am developing a spreadsheet like program. As such I > would like to have numeric values line up, i.e., units digit, etc. > form > a column. That would seem to require a fixed width/pitch font. So > I > tried QFont::setFixedPitch(true). This did not result in a fixed > pitch > font. Any ideas how I should debug this failure or work around it > please. Thanks for any help. > > Sincerely, > Carl Schumann > > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
