SDL icon indicating copy to clipboard operation
SDL copied to clipboard

SDL_ShowMessageBox cuts last word from messageboxdata.message on windows

Open mgerhardy opened this issue 9 months ago • 2 comments

				messageboxdata.message = "Please upload the crash logs. "
					"If the error persists, reset the configuration";

Screenshot 2024-05-04 181405

This doesn't happen on linux

mgerhardy avatar May 04 '24 16:05 mgerhardy

Find the full code around this message box here: https://github.com/vengi-voxel/vengi/blob/d370e83e0b81e6fca9483b14873035a972a43d3a/src/modules/app/App.cpp#L284

mgerhardy avatar May 04 '24 17:05 mgerhardy

The button width also doesn't work properly on windows for me. I first used "Upload crash log" - but the button wasn't wide enough (worked on linux)

mgerhardy avatar May 04 '24 17:05 mgerhardy