In the event that the error message on a source line is long, the fact that the status_line of the SourceWindow class is a QLabel means that the label expands as needed to display the full text, which can force the window much wider than the user originally had it. And the window cannot be shrunk again until the message is cleared from the status line!
Example: statement is DA 'Θ'; unicode in string when assembled creates a very lengthy error about "the unicode value 328 cannot be encoded blah blah".
I have experimented with setting the size policy of the label but no matter what I set, the QLabel takes what space its text() value wants.
In the event that the error message on a source line is long, the fact that the status_line of the SourceWindow class is a QLabel means that the label expands as needed to display the full text, which can force the window much wider than the user originally had it. And the window cannot be shrunk again until the message is cleared from the status line!
Example: statement is
DA 'Θ'; unicode in string
when assembled creates a very lengthy error about "the unicode value 328 cannot be encoded blah blah".I have experimented with setting the size policy of the label but no matter what I set, the QLabel takes what space its text() value wants.