| Description: |
The MessageDlg overrides user defined defaults when used with the option: -type user. For example:
% option add *Button.width 10 100
% MessageDlg .msgdlg -type user -buttons {ok cancel} \
-message "whatever"
then these defaults are picked up, but overridden by the message box to become -width 0, as testifies:
% .msgdlg.bbox.bo configure -width
-width width Width 10 0
|
| User Comments: |
oehhar added on 2009-06-10 23:12:45:
It is true, the current value is replaced by the value of the bwidget configuration value
buttonwidth.
So, one may use the correct option index:
option add *MessageDlg.buttonwidth 10 100
Unfortunately, this was not documented jet.
(but is now in cvs)
|