I thought this would be easy but am having difficulty doing it. I am trying to create an error dialog using devExpress components so it matches in with the rest of the program.
I want to have on it the error message for the end user in a label, a stack trace or detailed error hidden in a layout group by default but expandable and an ok button. The difficulty I am having is getting the labels to wrap in a layout control and working out the size the form needs when the detailed error is expanded or not. I am trying to get the wrapping so the control only expands vertically to fit the content.