sandsaturn22
30th August 2013, 20:13
Hello,
I have a QDialog with a title. The title is relatively long and as such the default size for the window (the sizeHint) is such that the windowTitle is truncated. Is there a way to set a property on a widget that causes the length of the windowTitle to be taken into consideration when calculating the size hint or do I have to either manually override the sizeHint and re implement it or provide a hardcoded minimum size?
It seems to me that this should be handled automatically by the layout manager if desired by the user.
Thanks.
I have a QDialog with a title. The title is relatively long and as such the default size for the window (the sizeHint) is such that the windowTitle is truncated. Is there a way to set a property on a widget that causes the length of the windowTitle to be taken into consideration when calculating the size hint or do I have to either manually override the sizeHint and re implement it or provide a hardcoded minimum size?
It seems to me that this should be handled automatically by the layout manager if desired by the user.
Thanks.