[Interest] Ensuring Dialog Window is a certain size which depends on Window title

Christopher Probst christop.probst at gmail.com
Mon May 7 22:13:40 CEST 2018


Hi,

Anybody here know of a quick way to ensure the a dialog displayed with
exec() will always show the full window title without any "..." . This is
on Windows.

I tried some horrible stuff like this

    setMinimumWidth(QApplication::fontMetrics().width(QApplication::applicationDisplayName())

                     + 250);

but it does not really work on every system.

Thanks a million,
Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180507/8c50ed0e/attachment.html>


More information about the Interest mailing list