enthought / enthought/pyface

Message dialog is cramped when message is shorter than details

Open
#459 0 comments 0 reactions 0 assignees View on GitHub
ETS Backlog
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

A frequent pattern is something like:
```python
error(
parent=parent,
message="An error occurred!",
detail=traceback.format_exc()
)
```
Because the message is short in length, the `QMessageBox` shrinks to accommodate only that length. But when the user clicks the "Show details" button, the longer message (in this example, the traceback) is incredibly cramped, and there is no method to resize the message box.

[Relevant stackoverflow answer](https://stackoverflow.com/a/57878068/1430829)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.