문제

I am trying to use BWidget's MessageDlg. As it follows from the documentation here, the -aspect ratio defines the ratio between the width and height of the message window.

However, seems it has no effect. For this code:

For

package require BWidget
MessageDlg .msg -type yesno -icon warning  -message "Some text." -aspect 50

and

package require BWidget
MessageDlg .msg -type yesno -icon warning  -message "Some text." -aspect 500

in both cases i am getting messages windows with the default ratio (which is 150).

I am using BWidget 1.9.4. Is this a known issue for BWidget? Can you suggest a better alternative?

도움이 되었습니까?

해결책

It appears to be declared and then just ignored, and has been this way for a long time. Ow! File a bug report please (and remember to set the Category field to bwidget).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top