Title too long with Warning Dialog.

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

5 posts / 0 new
Last post
Title too long with Warning Dialog.

Submitted by Anonymous on Thu, 12/12/2002 - 16:09.

Hi all,

When creating a warning, error or question dialog, I have encountered problems when the title is too long and the actual message is small.
The title gets cut-off and only partially shows. This behaviour is not same depending on the window manager.

Is there a resource that can be set so the dialog is wide enough to display the whole title or does this has to be programmatically done?

Thanks

Steve

Fri, 12/13/2002 - 12:45#1

Fri, 12/13/2002 - 12:45#1

ICS_support

Title too long with Warning Dialog.

If there is a resource, it is a window manager resource and is likely out of your control. The title is usually redundant, however, as its display can`t be guaranteed (as you`ve noticed).

 

 

Fri, 12/13/2002 - 22:58#2

Anonymous

How about...

Get the size of the Title and then set the Dialog`s width to be just a little larger than it (the title width) so that the title fits on dialog.

 

Mon, 12/16/2002 - 12:02#3

Mon, 12/16/2002 - 12:02#3

ICS_support

How about...

Well, yeah, but you can`t determine the title. It is under control of the window manager. If the window manager has no such resource as "fullyDisplayTitles" then you`re really out of luck.

In any case, important information shouldn`t be buried in window titles, and sufficiently important information should be brought to the user`s attention in other ways.

Wed, 12/18/2002 - 18:50#4

Wed, 12/18/2002 - 18:50#4

Anonymous

Title too long with Warning Dialog.

Thanks to all,

I had to convice our GUI designer that the title should not contain any vital information, but that did the trick.

He just wants it to look like windows.