On Sat, 30 Sep 2000, Dirk Mueller wrote: > On Fre, 29 Sep 2000, Rik Hemsley wrote: > > How about: > > lineedit->setFixedWidth(lineedit->fontMetrics().maxWidth() * size) > > Thanks. I know *that* it is possible, I was rather unsure *if* it should be > done.. Using maxWidth might leed to excessively wide forms when using proportional fonts. I once tried that, but gave up on it, as it broke layout on quite a lot of pages. Lars